Advertisement
Guest User

Untitled

a guest
Mar 21st, 2012
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. /**
  2. * @see LabOrderService#getLabSpecimenByUuid(String)
  3. * @verifies get by uuid
  4. */
  5. @Test
  6. @SkipBaseSetup
  7. public void getLabSpecimenByUuid_shouldGetByUuid() throws Exception {
  8. initializeInMemoryDatabase();
  9. executeDataSet("jsslab_data_delta.xml");
  10. authenticate();
  11.  
  12. LabSpecimen ls = Context.getService(LabOrderService.class).getLabSpecimenByUuid("cbbf4eae-49bc-11e1-812a-0024e8c61285");
  13. Assert.assertNotNull("GetLabSpecimenByUuid should not return null",ls);
  14. Assert.assertEquals("GetLabSpecimenByUuid should return the right object","cbbf4eae-49bc-11e1-812a-0024e8c61285", ls.getUuid());
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement