### Question:
SpoonRepositoryProvider implements KettleRepositoryProvider { @Override public Repository getRepository() { return spoonSupplier.get().getRepository(); } SpoonRepositoryProvider();  SpoonRepositoryProvider( Supplier<Spoon> spoonSupplier ); @Override Repository getRepository();  }### Answer:
@Test public void testGetRepository() { Spoon spoon = mock( Spoon.class ); Repository repository = mock( Repository.class ); when( spoon.getRepository() ).thenReturn( repository ); assertEquals( repository, new SpoonRepositoryProvider( () -> spoon ).getRepository() ); }