assertEquals("Should be classpath resource domain", CLASSPATH_RESOURCE_DOMAIN, wroTagLibConfig.getResourceDomain());
}
@Test
public void wroModelIsRetrievedCorrectly() {
ServletContextAttributeHelper servletContextAttributeHelper = mock(ServletContextAttributeHelper.class);
WroManagerFactory managerFactory = mock(WroManagerFactory.class);
WroManager manager = PowerMockito.mock(WroManager.class);
WroModelFactory modelFactory = mock(WroModelFactory.class);
WroModel modelFromTest = new WroModel();
when(servletContextAttributeHelper.getManagerFactory()).thenReturn(managerFactory);
when(managerFactory.create()).thenReturn(manager);
when(manager.getModelFactory()).thenReturn(modelFactory);
when(modelFactory.create()).thenReturn(modelFromTest);
WroTagLibConfig wroTagLibConfig = new WroTagLibConfig(this.servletContext);