assertIsOneStatement
public static CtStatement assertIsOneStatement(CtStatement statement, Context context, PreCommentSupplier<? super ResultOfObject<CtStatement>> comment)(source)
Asserts that the solution is one statement (containing only one semicolon).
Return
the statement
Parameters
statement
the statement
context
the context of this test
comment
the comment to be displayed in case of a failure