use of com.github.sevntu.checkstyle.domain.ExpectedDependencies in project methods-distance by sevntu-checkstyle.
the class MethodCallDependencyCheckstyleModuleTest method testMethodCallThroughMethodReference.
@Test
public void testMethodCallThroughMethodReference() throws Exception {
final DefaultConfiguration dc = createCheckConfig(MethodCallDependencyCheckstyleModule.class);
final ExpectedDependencies expected = ExpectedDependencies.build().method("a()").callsTo(2).at(11, 61).method("a1()").method("a1(Integer)").method("b()").callsTo(5).at(20, 24).method("b1()").method("b1(Integer)").get();
verifyInfo(dc, "InputMethodCallThroughMethodReference.java", expected);
}
Aggregations