assertIsNotRecursively

public static void assertIsNotRecursively(CtMethod<? extends Object> method, Context context, PreCommentSupplier<? super ResultOfFail> comment)(source)

Asserts that the given method does not contain recursive calls.

Parameters

method

the method

context

the context of this test

comment

the comment to be displayed in case of a failure