@Test
  public void testIsValidTarget() {
    World world = new WorldImpl(1, 1, null, null);
    WorldObject performer = createPerformer(2);
    WorldObject target = TestUtils.createWorldObject(0, 0, 1, 1);

    assertEquals(true, Actions.PLANT_NIGHT_SHADE_ACTION.isValidTarget(performer, target, world));

    target.setProperty(Constants.ID, 3);
    world.addWorldObject(target);
    assertEquals(false, Actions.PLANT_NIGHT_SHADE_ACTION.isValidTarget(performer, target, world));
  }
  @Test
  public void testDistance() {
    World world = new WorldImpl(1, 1, null, null);
    WorldObject performer = createPerformer(2);
    WorldObject target = createPerformer(3);

    assertEquals(
        0, Actions.PLANT_NIGHT_SHADE_ACTION.distance(performer, target, Args.EMPTY, world));
  }
  @Test
  public void testExecute() {
    World world = new WorldImpl(1, 1, null, null);
    WorldObject performer = createPerformer(2);
    WorldObject target = createPerformer(3);
    Actions.PLANT_NIGHT_SHADE_ACTION.execute(performer, target, Args.EMPTY, world);

    assertEquals(1, world.getWorldObjects().size());
    assertEquals("nightshade", world.getWorldObjects().get(0).getProperty(Constants.NAME));
  }