// have to reset it, otherwise a test fails when testing entire project.
Mockito.reset(mockResourceWatcher);
}
public Injector createInjector() {
final WroModel model = new WroModel().addGroup(new Group(GROUP_NAME).addResource(Resource.create(RESOURCE_URI)));
final WroModelFactory modelFactory = WroTestUtils.simpleModelFactory(model);
final UriLocatorFactory locatorFactory = WroTestUtils.createResourceMockingLocatorFactory();
final BaseWroManagerFactory factory = new BaseWroManagerFactory().setModelFactory(modelFactory).setUriLocatorFactory(
locatorFactory);
factory.setProcessorsFactory(new SimpleProcessorsFactory());