/** * Creates a new instance of <code>{@link io.zeebe.exporter.record.value.JobRecordValueAssert}</code>. * * @param actual the actual value. * @return the created assertion object. */ @org.assertj.core.util.CheckReturnValue public static io.zeebe.exporter.record.value.JobRecordValueAssert assertThat(io.zeebe.exporter.record.value.JobRecordValue actual) { return new io.zeebe.exporter.record.value.JobRecordValueAssert(actual); }
public static void assertJobRecord(Record<JobRecordValue> createJobCmd) { Assertions.assertThat(createJobCmd.getValue()).hasRetries(5).hasType("bar"); }
assertThat(jobRecord.getValue()).hasRetries(3).hasWorker(worker).hasDeadline(deadline);
assertThat(republishedEvent.getTimestamp().toEpochMilli()) .isGreaterThanOrEqualTo(jobEvent.getTimestamp().toEpochMilli()); assertThat(republishedEvent.getValue()).hasRetries(1);
assertThat(jobRecord.getValue()).hasRetries(3).hasWorker(worker).hasDeadline(deadline);
assertThat(republishedEvent.getTimestamp().toEpochMilli()) .isGreaterThanOrEqualTo(jobEvent.getTimestamp().toEpochMilli()); assertThat(republishedEvent.getValue()).hasRetries(1);
public static void assertJobRecord(Record<JobRecordValue> createJobCmd) { Assertions.assertThat(createJobCmd.getValue()).hasRetries(5).hasType("bar"); }
/** * An entry point for JobRecordValueAssert to follow AssertJ standard <code>assertThat()</code> statements.<br> * With a static import, one can write directly: <code>assertThat(myJobRecordValue)</code> and get specific assertion with code completion. * @param actual the JobRecordValue we want to make assertions on. * @return a new <code>{@link JobRecordValueAssert}</code> */ @org.assertj.core.util.CheckReturnValue public static JobRecordValueAssert assertThat(JobRecordValue actual) { return new JobRecordValueAssert(actual); } }