pojos.dropPlatoon(p.getId());
}
@Test
public void delete_links() {
TableName.run(platoon, new Atom() {
public void run() {
Tank t = dao.fetchLinks(dao.fetch(Tank.class, "T92"), "members");
assertEquals(3, t.getMembers().size());
dao.deleteLinks(t, "members");
assertEquals(2, dao.count(Soldier.class));