@Test public void testDeclareWar_BranchCoverage() { Civilization enemy = this.getCivilizationConstructor("YOU"); civ.declareWar(enemy); assertTrue(civ.getEnemies().contains(enemy.getName())); // it is impossible to get 100% branch coverage here because there is no way to // make an ally }