expected.add(mockPPCFireInfo); expected.add(mockLRMFireInfo); final FiringPlan actual = testFireControl.guessFullAirToGroundPlan(mockShooter, mockTarget, mockTargetState, mockFlightPath, mockGame, true); Assert.assertEquals(new HashSet<>(expected), new HashSet<>(actual)); Assert.assertEquals(expected, testFireControl.guessFullAirToGroundPlan(mockShooter, mockTarget, mockTargetState, mockFlightPath, mockGame, true)); Assert.assertEquals(expected, testFireControl.guessFullAirToGroundPlan(mockShooter, mockTarget, mockTargetState, mockFlightPath, mockGame, true));
myFiringPlan = getFireControl().guessFullAirToGroundPlan(path.getEntity(), enemy, new EntityState(enemy), path, game, false); } else {