HL7DbParser201306 { static String buildCreationTimeString() { return DateTimeFormat.forPattern("yyyyMMddHHmmss").print(new DateTime(DateTimeZone.UTC)); } private  HL7DbParser201306(); static PRPAIN201306UV02 buildMessageFromMpiPatients(List<Patient> patients, PRPAIN201305UV02 query);  }
@Test public void creationTimeShouldHaveCorrectFormat() { assertEquals("20140513211530", HL7DbParser201306.buildCreationTimeString()); }