@Before
public void setup() throws SecurityException, IllegalArgumentException, NoSuchFieldException,
IllegalAccessException, MojoFailureException {
verifyMojo = new VerifyMojo();
new ReflectionHelper(verifyMojo).setField("lineSeparator", "\n");
new ReflectionHelper(verifyMojo).setField("encoding", "UTF-8");
new ReflectionHelper(verifyMojo).setField("verifyFail", "SORT");
sortPomImpl = new ReflectionHelper(verifyMojo).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);
}