private WroManagerFactory createValidManagerFactory() {
return new BaseWroManagerFactory().setModelFactory(createValidModelFactory());
}
private WroModelFactory createValidModelFactory() {
return new XmlModelFactory() {
@Override
protected InputStream getModelResourceAsStream() {
return TestWroFilter.class.getResourceAsStream("wro.xml");
}
};