@Test
  public void testPerformerViolatedGroupRules() {
    World world = new WorldImpl(10, 10, null, null);
    createVillagersOrganization(world);
    WorldObject performer =
        TestUtils.createIntelligentWorldObject(1, Constants.GROUP, new IdList().add(1));
    WorldObject actionTarget =
        TestUtils.createIntelligentWorldObject(2, Constants.GROUP, new IdList().add(1));

    assertEquals(
        false,
        DefaultGoalObstructedHandler.performerViolatedGroupRules(
            performer, actionTarget, null, Actions.TALK_ACTION, world));
    assertEquals(
        true,
        DefaultGoalObstructedHandler.performerViolatedGroupRules(
            performer, actionTarget, null, Actions.MELEE_ATTACK_ACTION, world));
  }