@Generated(value="assertj-assertions-generator") public class MethodSpecAssert extends AbstractMethodSpecAssert<MethodSpecAssert,com.squareup.javapoet.MethodSpec>
MethodSpec specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractMethodSpecAssert instead.| Constructor and Description |
|---|
MethodSpecAssert(com.squareup.javapoet.MethodSpec actual)
Creates a new
to make assertions on actual MethodSpec. |
| Modifier and Type | Method and Description |
|---|---|
static MethodSpecAssert |
assertThat(com.squareup.javapoet.MethodSpec actual)
An entry point for MethodSpecAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myMethodSpec) and get specific assertion with code completion. |
doesNotHaveAnnotations, doesNotHaveAnnotations, doesNotHaveExceptions, doesNotHaveExceptions, doesNotHaveModifiers, doesNotHaveModifiers, doesNotHaveParameters, doesNotHaveParameters, doesNotHaveTypeVariables, doesNotHaveTypeVariables, hasAnnotations, hasAnnotations, hasCode, hasDefaultValue, hasExceptions, hasExceptions, hasJavadoc, hasModifiers, hasModifiers, hasName, hasNoAnnotations, hasNoExceptions, hasNoModifiers, hasNoParameters, hasNoTypeVariables, hasOnlyAnnotations, hasOnlyAnnotations, hasOnlyExceptions, hasOnlyExceptions, hasOnlyModifiers, hasOnlyModifiers, hasOnlyParameters, hasOnlyParameters, hasOnlyTypeVariables, hasOnlyTypeVariables, hasParameters, hasParameters, hasReturnType, hasTypeVariables, hasTypeVariables, isConstructor, isNotConstructor, isNotVarargs, isVarargsas, as, extracting, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, usingComparatorForFields, usingComparatorForTypeasList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorpublic MethodSpecAssert(com.squareup.javapoet.MethodSpec actual)
MethodSpecAssert to make assertions on actual MethodSpec.actual - the MethodSpec we want to make assertions on.public static MethodSpecAssert assertThat(com.squareup.javapoet.MethodSpec actual)
assertThat() statements.assertThat(myMethodSpec) and get specific assertion with code completion.actual - the MethodSpec we want to make assertions on.MethodSpecAssertCopyright © 2019 Mulesoft. All rights reserved.