@Test @UsingDataSet("datasets/single-user.yml") public void should_have_timestamp_populated() throws Exception { // given final Date expectedOpenDate = new SimpleDateFormat("yyyy-mm-dd hh:mm:ss").parse("2001-01-01 00:00:00"); // when UserAccount user = em.find(UserAccount.class, 1L); // then assertThat(user.getOpenDate()).isEqualTo(expectedOpenDate); }