@Test
public void rakefileFromJenkinsModule() throws Exception {
File root = TestDataProvider.getTestFile(new Path("testData/rakefiledata/fromJenkinsModule/"));
ValidationService vs = getValidationService();
Diagnostic chain = new Diagnostic();
BuildResult result = vs.validate(chain, root, null, null, SubMonitor.convert(null));
DiagnosticsAsserter asserter = new DiagnosticsAsserter(chain);
asserter.assertAll(asserter.issue(IPPDiagnostics.ISSUE__STRING_BOOLEAN).optional().greedy());
RakefileInfo rakefileInfo = result.getRakefileInfo();
assertEquals("Should have found one rakefile", 1, rakefileInfo.getRakefiles().size());