### Question:
ViewportUtils { public static GridPoint2 pointToCenter(Actor actor, Viewport viewport) { return pointToCenter(viewport.getWorldWidth(), viewport.getWorldHeight(), actor.getWidth(), actor.getHeight()); } private  ViewportUtils(); static GridPoint2 pointToCenter(Actor actor, Viewport viewport); static GridPoint2 pointToCenter(float screenWidth, float screenHeight, float componentWidth, float componentHeight);  }### Answer:
@Test public void pointToCenter_returns_expected() { GridPoint2 point = ViewportUtils.pointToCenter(480, 800, 350, 500); assertEquals(65, point.x); assertEquals(150, point.y); }