예제 #1
0
 /**
  * @verifies set all the relevant fields
  * @see TestOrder#cloneForRevision()
  */
 @Test
 public void cloneForRevision_shouldSetAllTheRelevantFields() throws Exception {
   OrderTest.assertThatAllFieldsAreCopied(
       new TestOrder(),
       "cloneForRevision",
       "creator",
       "dateCreated",
       "action",
       "changedBy",
       "dateChanged",
       "voided",
       "dateVoided",
       "voidedBy",
       "voidReason",
       "encounter",
       "orderNumber",
       "orderer",
       "previousOrder",
       "dateActivated",
       "dateStopped",
       "accessionNumber");
 }
예제 #2
0
 /**
  * @verifies copy all test order fields
  * @see TestOrder#copy()
  */
 @Test
 public void copy_shouldCopyAllTestOrderFields() throws Exception {
   OrderTest.assertThatAllFieldsAreCopied(new TestOrder(), null);
 }