@Test public void testGetViewablePatients() { List<PatientBean> list = null; try { list = action.getViewablePatients(); } catch (ITrustException e) { fail(); } if (list == null) { fail(); } else { assertEquals(1, list.size()); } }