@Test public void testAreBrawlingNoBrawlOpponentId() { WorldObject performer = TestUtils.createIntelligentWorldObject(1, Constants.BRAWL_OPPONENT_ID, null); WorldObject actionTarget = TestUtils.createIntelligentWorldObject(2, Constants.BRAWL_OPPONENT_ID, null); assertEquals( true, DefaultGoalObstructedHandler.areBrawling( performer, actionTarget, Actions.NON_LETHAL_MELEE_ATTACK_ACTION)); performer.removeProperty(Constants.BRAWL_OPPONENT_ID); actionTarget.removeProperty(Constants.BRAWL_OPPONENT_ID); assertEquals( false, DefaultGoalObstructedHandler.areBrawling( performer, actionTarget, Actions.NON_LETHAL_MELEE_ATTACK_ACTION)); }