compilerHelper.compile( new ConstraintValidationProcessor(), diagnostics, sourceFile1, sourceFile2 );
assertFalse( compilationResult );
assertThatDiagnosticsMatch(
diagnostics,
new DiagnosticExpectation( Kind.ERROR, 24 ),
new DiagnosticExpectation( Kind.ERROR, 42 ),
new DiagnosticExpectation( Kind.ERROR, 57 ),
new DiagnosticExpectation( Kind.ERROR, 72 ),
new DiagnosticExpectation( Kind.ERROR, 87 ),
new DiagnosticExpectation( Kind.ERROR, 102 ),
new DiagnosticExpectation( Kind.ERROR, 117 ),
new DiagnosticExpectation( Kind.ERROR, 132 )
);
}