ProjectionAdapter implements Projection { @Override public VisibleRegion getVisibleRegion() { return AnyMapAdapter.adapt(projection.getVisibleRegion()); } ProjectionAdapter(com.google.android.gms.maps.Projection projection); @Override VisibleRegion getVisibleRegion();  }
@Test public void testGetVisibleRegion() throws Exception { Projection projection = mock(Projection.class); VisibleRegion visibleRegion = mock(VisibleRegion.class); doReturn(visibleRegion) .when(projection) .getVisibleRegion(); ProjectionAdapter adapter = new ProjectionAdapter(projection); adapter.getVisibleRegion(); verify(projection).getVisibleRegion(); verifyStatic(); AnyMapAdapter.adapt(refEq(visibleRegion)); }