}
public void testWinkApplication() {
ResourceRegistryMock resourceRegistry = new ResourceRegistryMock();
ProvidersRegistryMock providersRegistry = new ProvidersRegistryMock();
new ApplicationProcessor(new WinkApplicationMock(), resourceRegistry, providersRegistry)
.process();
assertTrue(providersRegistry.classes.contains(FileProvider.class));
assertTrue(resourceRegistry.classes.contains(RootResource.class));
assertEquals(1, providersRegistry.classes.size());
assertEquals(1, resourceRegistry.classes.size());