@Generated(value="assertj-assertions-generator") public class CodeBlockAssert extends AbstractCodeBlockAssert<CodeBlockAssert,com.squareup.javapoet.CodeBlock>
CodeBlock specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractCodeBlockAssert instead.| Constructor and Description |
|---|
CodeBlockAssert(com.squareup.javapoet.CodeBlock actual)
Creates a new
to make assertions on actual CodeBlock. |
| Modifier and Type | Method and Description |
|---|---|
static CodeBlockAssert |
assertThat(com.squareup.javapoet.CodeBlock actual)
An entry point for CodeBlockAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myCodeBlock) and get specific assertion with code completion. |
isEmpty, isNotEmptyas, 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 CodeBlockAssert(com.squareup.javapoet.CodeBlock actual)
CodeBlockAssert to make assertions on actual CodeBlock.actual - the CodeBlock we want to make assertions on.public static CodeBlockAssert assertThat(com.squareup.javapoet.CodeBlock actual)
assertThat() statements.assertThat(myCodeBlock) and get specific assertion with code completion.actual - the CodeBlock we want to make assertions on.CodeBlockAssertCopyright © 2019 Mulesoft. All rights reserved.