UserDetail implements Serializable, Comparable<UserDetail> { public Date getCreateTime() { return createTime; } UserDetail();  UserDetail(String script, Integer users); String getScript(); Integer getUsers(); Date getCreateTime(); @Override int compareTo(UserDetail o); @Override String toString();  }
@Test public void testGetCreateTime_1() throws Exception { UserDetail fixture = new UserDetail("", new Integer(1)); Date result = fixture.getCreateTime(); assertNotNull(result); }