assertEquals(1,result.size());
}
public void testCreateTagAssertionBatch2() throws Exception{
TagAssertion[] ta = new TagAssertion[3];
ta[0] = new TagAssertion(new UserTag(100),new TagProperty(1),new UserTag(103),new User(1));
ta[1] = new TagAssertion(new UserTag(101),new TagProperty(1),new UserTag(103),new User(1));
ta[2] = new TagAssertion(new UserTag(100),new TagProperty(1),new UserTag(103),new User(1));
boolean isOkay = dao.createTagAssertion(ta);
assertTrue(isOkay);
List<TagAssertion> result = dao.findTagAssertion(new User(1),new UserTag(100),new TagProperty(1),new UserTag(103));
assertEquals(1,result.size());
result = dao.findTagAssertion(new User(1),new UserTag(101),new TagProperty(1),new UserTag(103));
assertEquals(1,result.size());
}