@Generated(value="assertj-assertions-generator") public abstract class AbstractRecordMetadataAssert<S extends AbstractRecordMetadataAssert<S,A>,A extends RecordMetadata> extends org.assertj.core.api.AbstractObjectAssert<S,A>
RecordMetadata specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRecordMetadataAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual RecordMetadata. |
| Modifier and Type | Method and Description |
|---|---|
S |
hasIntent(io.zeebe.protocol.intent.Intent intent)
Verifies that the actual RecordMetadata's intent is equal to the given one.
|
S |
hasPartitionId(int partitionId)
Verifies that the actual RecordMetadata's partitionId is equal to the given one.
|
S |
hasRecordType(io.zeebe.protocol.clientapi.RecordType recordType)
Verifies that the actual RecordMetadata's recordType is equal to the given one.
|
S |
hasRejectionReason(String rejectionReason)
Verifies that the actual RecordMetadata's rejectionReason is equal to the given one.
|
S |
hasRejectionType(io.zeebe.protocol.clientapi.RejectionType rejectionType)
Verifies that the actual RecordMetadata's rejectionType is equal to the given one.
|
S |
hasValueType(io.zeebe.protocol.clientapi.ValueType valueType)
Verifies that the actual RecordMetadata's valueType is equal to the given one.
|
as, as, extracting, extracting, extracting, getComparatorsByType, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, 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, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorprotected AbstractRecordMetadataAssert(A actual, Class<S> selfType)
AbstractRecordMetadataAssert to make assertions on actual RecordMetadata.actual - the RecordMetadata we want to make assertions on.public S hasIntent(io.zeebe.protocol.intent.Intent intent)
intent - the given intent to compare the actual RecordMetadata's intent to.AssertionError - - if the actual RecordMetadata's intent is not equal to the given one.public S hasPartitionId(int partitionId)
partitionId - the given partitionId to compare the actual RecordMetadata's partitionId to.AssertionError - - if the actual RecordMetadata's partitionId is not equal to the given one.public S hasRecordType(io.zeebe.protocol.clientapi.RecordType recordType)
recordType - the given recordType to compare the actual RecordMetadata's recordType to.AssertionError - - if the actual RecordMetadata's recordType is not equal to the given one.public S hasRejectionReason(String rejectionReason)
rejectionReason - the given rejectionReason to compare the actual RecordMetadata's rejectionReason to.AssertionError - - if the actual RecordMetadata's rejectionReason is not equal to the given one.public S hasRejectionType(io.zeebe.protocol.clientapi.RejectionType rejectionType)
rejectionType - the given rejectionType to compare the actual RecordMetadata's rejectionType to.AssertionError - - if the actual RecordMetadata's rejectionType is not equal to the given one.public S hasValueType(io.zeebe.protocol.clientapi.ValueType valueType)
valueType - the given valueType to compare the actual RecordMetadata's valueType to.AssertionError - - if the actual RecordMetadata's valueType is not equal to the given one.Copyright © 2017–2018 camunda services GmbH. All rights reserved.