@Before
public void setup() throws SecurityException, IllegalArgumentException, NoSuchFieldException,
IllegalAccessException, MojoFailureException {
sortMojo = new SortMojo();
new ReflectionHelper(sortMojo).setField("lineSeparator", "\n");
new ReflectionHelper(sortMojo).setField("encoding", "UTF-8");
sortPomImpl = new ReflectionHelper(sortMojo).getField(SortPomImpl.class);
fileUtil = new ReflectionHelper(sortPomImpl).getField(FileUtil.class);
xmlProcessor = new ReflectionHelper(sortPomImpl).getField(XmlProcessor.class);
WrapperFactoryImpl wrapperFactoryImpl = new ReflectionHelper(sortPomImpl).getField(WrapperFactoryImpl.class);
elementWrapperCreator = new ReflectionHelper(wrapperFactoryImpl).getField(ElementWrapperCreator.class);
textWrapperCreator = new ReflectionHelper(wrapperFactoryImpl).getField(TextWrapperCreator.class);
}