TankUser extends User implements Serializable { public String getKey() { return Integer.toString(userEntity.getId()); } TankUser(com.intuit.tank.project.User userEntity); String getKey(); String getId(); com.intuit.tank.project.User getUserEntity(); void setUserEntity(com.intuit.tank.project.User userEntity);  }
@Test public void testGetKey_1() throws Exception { TankUser fixture = new TankUser(new User()); String result = fixture.getKey(); assertNotNull(result); }