### Question:
ModelProviderFactory { public List<ModelProvider> createProviders() { return New.list(new PlatformMetadataProvider(myDataRegistry), new AerialImageProvider(myQuerier)); } ModelProviderFactory(DataRegistry dataRegistry, OSHImageQuerier querier); List<ModelProvider> createProviders();  }### Answer:
@Test public void testCreateProviders() { EasyMockSupport support = new EasyMockSupport(); DataRegistry dataRegistry = support.createMock(DataRegistry.class); OSHImageQuerier querier = support.createMock(OSHImageQuerier.class); support.replayAll(); ModelProviderFactory factory = new ModelProviderFactory(dataRegistry, querier); List<ModelProvider> providers = factory.createProviders(); assertEquals(2, providers.size()); assertTrue(providers.get(0) instanceof PlatformMetadataProvider); assertTrue(providers.get(1) instanceof AerialImageProvider); support.verifyAll(); }