UserRepository { @Transactional(SUPPORTS) public User find(final long id) { return em.find(User.class, id); }  @Transactional(SUPPORTS) User find(final long id);  }
@Test @DataSet("datasets/users.yml") public void find1() { assertEquals("John Smith", repository.find(1L).getName()); assertEquals("Clark Kent", repository.find(2L).getName()); }
@Test public void find2() { assertNull(repository.find(1L)); }