WorldEditor { public void clear() { world.clear(); } @VisibleForTesting protected  WorldEditor(World world); static WorldEditor newInstance(); void startEdition(); void clear(); void cancel(); void endEdition(); void loadWorldFrom(Uri image);  }
@Test public void testThatClearDelegates() { worldEditor.clear(); verify(world).clear(); }