### Question:
GameController { public void moveBullet(float offset) { var currentPosition = bullet.getPosition(); bullet.setPosition(currentPosition + offset); } GameController(); void moveBullet(float offset); float getBulletPosition();  }### Answer:
@Test public void testMoveBullet() { controller.moveBullet(1.5f); Assert.assertEquals(1.5f, controller.bullet.getPosition(), 0); }