单元测试 实体
代码
@Before
public void setUp() {
userVoTest = new UserVo();
}
@Test
public void testEquals() {
final boolean result = userVoTest.equals("o");
assertFalse(result);
}
@Test
public void testHashCode() {
final int result = userVoTest.hashCode();
assertEquals(result, result);
}
@Test
public void testToString() {
final String result = userVoTest.toString();
assertEquals(result, result);
}