Class MethodAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<MethodAssert,com.thoughtworks.qdox.model.JavaMethod>
org.springframework.aot.test.generator.file.MethodAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<MethodAssert,com.thoughtworks.qdox.model.JavaMethod>, org.assertj.core.api.Descriptable<MethodAssert>, org.assertj.core.api.ExtensionPoints<MethodAssert,com.thoughtworks.qdox.model.JavaMethod>

public class MethodAssert extends org.assertj.core.api.AbstractAssert<MethodAssert,com.thoughtworks.qdox.model.JavaMethod>
Assertion methods for SourceFile methods.
Since:
6.0
Author:
Phillip Webb
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractAssert

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    withBody(String expected)
     
    void
     

    Methods inherited from class org.assertj.core.api.AbstractAssert

    asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.assertj.core.api.Descriptable

    as, as, as, describedAs
  • Method Details

    • withBody

      public void withBody(String expected)
    • withBodyContaining

      public void withBodyContaining(CharSequence... values)