assertContentsEqual(expected, generated);
}
private IDocument applyConstructorUsingFields(MockupConstructorFieldRequestProcessor requestProcessor)
throws BadLocationException, MalformedTreeException, MisconfigurationException {
ConstructorMethodEdit constructorEdit = new ConstructorMethodEdit(requestProcessor.getRefactoringRequests()
.get(0));
IDocument refactoringDoc = new Document(data.source);
constructorEdit.getEdit().apply(refactoringDoc);
return refactoringDoc;
}