"<module>",
" <super-source path='some.path'/>",
"</module>"});
assertThat(m_module.getChildren()).hasSize(1);
// prepare single "<super-source>" element
SuperSourceElement sourceElement;
{
List<SuperSourceElement> sourceElements = m_module.getSuperSourceElements();
assertThat(sourceElements).hasSize(1);
sourceElement = sourceElements.get(0);
}
// current "path" value
assertEquals("some.path", sourceElement.getPath());
// set new "path" value
{
sourceElement.setPath("new.path");
assertUpdatedModuleFile(StringUtils.replace(m_moduleContent, "some.path", "new.path"));
}
}