public void testSelfDependency() {
try {
StringConcatenation _builder = new StringConcatenation();
_builder.append("task Foo depends Foo {}");
_builder.newLine();
BuildFile _parse = this._parseHelper.parse(_builder);
this._validationTestHelper.assertError(_parse, BuildPackage.Literals.TASK, BuildDSLValidator.CYCLIC_DEPENDENCY);
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}