Assert.assertNotNull("node",user.getPersistentState());
}
@Test
@Transactional
public void jpaUserCanHaveGraphProperties() {
User user = user("John");
Assert.assertNotNull("jpa-id",user.getId());
Assert.assertNotNull("node",user.getPersistentState());
Assert.assertNotNull("nickname in entity",user.getNickname());
Assert.assertEquals("nickname in graph","John",user.getPersistentState().getProperty("nickname"));
}