@Generated(value="assertj-assertions-generator") public abstract class AbstractRecordAssert<S extends AbstractRecordAssert<S,A>,A extends Record> extends org.assertj.core.api.AbstractObjectAssert<S,A>
Record specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRecordAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Record. |
| Modifier and Type | Method and Description |
|---|---|
S |
hasKey(long key)
Verifies that the actual Record's key is equal to the given one.
|
S |
hasMetadata(RecordMetadata metadata)
Verifies that the actual Record's metadata is equal to the given one.
|
S |
hasPosition(long position)
Verifies that the actual Record's position is equal to the given one.
|
S |
hasProducerId(int producerId)
Verifies that the actual Record's producerId is equal to the given one.
|
S |
hasRaftTerm(int raftTerm)
Verifies that the actual Record's raftTerm is equal to the given one.
|
S |
hasSourceRecordPosition(long sourceRecordPosition)
Verifies that the actual Record's sourceRecordPosition is equal to the given one.
|
S |
hasTimestamp(java.time.Instant timestamp)
Verifies that the actual Record's timestamp is equal to the given one.
|
S |
hasValue(RecordValue value)
Verifies that the actual Record's value 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 AbstractRecordAssert(A actual, Class<S> selfType)
AbstractRecordAssert to make assertions on actual Record.actual - the Record we want to make assertions on.public S hasKey(long key)
key - the given key to compare the actual Record's key to.AssertionError - - if the actual Record's key is not equal to the given one.public S hasMetadata(RecordMetadata metadata)
metadata - the given metadata to compare the actual Record's metadata to.AssertionError - - if the actual Record's metadata is not equal to the given one.public S hasPosition(long position)
position - the given position to compare the actual Record's position to.AssertionError - - if the actual Record's position is not equal to the given one.public S hasProducerId(int producerId)
producerId - the given producerId to compare the actual Record's producerId to.AssertionError - - if the actual Record's producerId is not equal to the given one.public S hasRaftTerm(int raftTerm)
raftTerm - the given raftTerm to compare the actual Record's raftTerm to.AssertionError - - if the actual Record's raftTerm is not equal to the given one.public S hasSourceRecordPosition(long sourceRecordPosition)
sourceRecordPosition - the given sourceRecordPosition to compare the actual Record's sourceRecordPosition to.AssertionError - - if the actual Record's sourceRecordPosition is not equal to the given one.public S hasTimestamp(java.time.Instant timestamp)
timestamp - the given timestamp to compare the actual Record's timestamp to.AssertionError - - if the actual Record's timestamp is not equal to the given one.public S hasValue(RecordValue value)
value - the given value to compare the actual Record's value to.AssertionError - - if the actual Record's value is not equal to the given one.Copyright © 2017–2018 camunda services GmbH. All rights reserved.