use of com.bc.pmpheep.back.po.Sensitive in project pmph by BCSquad.
the class SensitiveServiceTest method addTest.
@Test
public void addTest() {
Sensitive sen = sensitiveService.add(sensitive);
Assert.assertNotNull("添加失败", sen.getId());
}
use of com.bc.pmpheep.back.po.Sensitive in project pmph by BCSquad.
the class SensitiveServiceTest method updateIsDeletedTest.
@Test
public void updateIsDeletedTest() {
Sensitive sen = sensitiveService.add(sensitive);
Long[] id = { sen.getId() };
String result = sensitiveService.deletedIsDeleted(id);
Assert.assertTrue("删除失败", result.equals("SUCCESS"));
}
Aggregations