Assert.assertEquals(1, changedModel.getGroups().size());
}
@Test
public void testExpandWildcardWithASingleResource() {
final WroModel model = new WroModel();
final String uri = String.format(ClasspathUriLocator.PREFIX + "%s/expander/?cript1.js",
WroUtil.toPackageAsFolder(getClass()));
model.addGroup(new Group("group").addResource(Resource.create(uri, ResourceType.JS)));
Mockito.when(decoratedFactory.create()).thenReturn(model);
final WroModel changedModel = transformer.transform(model);
LOG.debug("model: {}", changedModel);
Assert.assertEquals(1, changedModel.getGroupByName("group").getResources().size());
}