Interface CtAssert<T>

    • Method Detail

      • getExpression

        CtExpression<T> getExpression()
        Gets the expression of the assertion if defined.
      • setExpression

        <A extends CtAssert<T>> A setExpression​(CtExpression<T> expression)
        Sets the expression of the assertion. For instance assert.setExpression(factory.createCodeSnippetExpression("param != null"))