### Question:
Actor extends WorldObject { public MoveState getForcedState() { return forcedState; } Actor(String name); @Override void preUpdate(); @Override void update(); MoveState getForcedState(); void setForcedState(MoveState forcedState); double getMoveSpeed(); void setMoveSpeed(double moveSpeed); static double DEFAULT_MOVE_SPEED; }### Answer:
@Test public void testGetForcedState() throws InterruptedException { Actor actor = new Actor("Actor"); world.getWorldObjects().add(actor); Angle angle = new Angle(0.0, Angle.BACK); actor.setAngle(angle); Thread.sleep(1000); world.update(); Assert.assertNotNull(actor.getForcedState()); }