*/
@Test
public void saveAndFlushShouldSupportReturningSubTypesOfRepositoryEntity() {
repository.deleteAll();
SpecialUser user = new SpecialUser();
user.setFirstname("Thomas");
user.setEmailAddress("thomas@example.org");
SpecialUser savedUser = repository.saveAndFlush(user);
assertThat(user.getFirstname(), is(savedUser.getFirstname()));
assertThat(user.getEmailAddress(), is(savedUser.getEmailAddress()));
}