User { public Long getId() { return id; }  Long getId(); void setId(Long id); String getEmail(); void setEmail(String email); String getFirstName(); void setName(String name); @Override String toString();  }
@Test public void test_1() { UserService service = new UserService(); User john = service.createUser("john@doe", "John Doe"); User jane = service.createUser("jane@doe", "Jane Doe"); assertEquals(john.getId(), jane.getId()); }