@Test
 public void testFindAll() {
   List<Party> parties = Party.findAll(Party.class, now);
   assertTrue(parties.contains(company));
   assertTrue(parties.contains(department));
   assertTrue(parties.contains(job));
   assertTrue(parties.contains(post));
   assertTrue(parties.contains(employee));
 }
 @Test
 public void testIsExistSn() {
   assertTrue(Party.isExistSn(Party.class, "JG-XXX1", now));
 }
 @Test(expected = SnIsExistException.class)
 public void testSave() {
   Party party = new Company("TestCompany", "JG-XXX1");
   party.save();
 }