DefaultValueProvider extends AbstractValueProvider { @Override public final Area getArea() { return dggFile.getArea(); } DefaultValueProvider(DggFile dggFile, int memberIndex); @Override final Area getArea(); @Override int getGridPointIndex(int seqnum);  }
@Test public void testGetArea() { when(dggFile.getArea()).thenReturn(new Area()); defaultValueProvider.getArea(); verify(dggFile, times(1)).getArea(); }