@Test @UsingDataSet({"profile.yml"}) public void shouldUpdateAnExistingProfile() throws Exception { Profile profile = entityManager.find(Profile.class, 1000L); profile.setFullname("Updated User"); profileRepository.update(profile); }