@Test void testIsExpectedRevision() { assertTrue(testSubject.isExpectedRevision(EXPECTED_REVISION)); assertFalse(testSubject.isExpectedRevision(UPCASTED_REVISION)); }
protected boolean isExpectedRevision(String revision) { return Objects.equals(revision, expectedRevision); }
EventTypeUpcaster extends SingleEventUpcaster { protected boolean isExpectedRevision(String revision) { return Objects.equals(revision, expectedRevision); } }
EventTypeUpcaster extends SingleEventUpcaster { protected boolean isExpectedRevision(String revision) { return Objects.equals(revision, expectedRevision); } EventTypeUpcaster(String expectedPayloadType,
                             String expectedRevision,
                             String upcastedPayloadType,
                             String upcastedRevision); }
EventTypeUpcaster extends SingleEventUpcaster { protected boolean isExpectedRevision(String revision) { return Objects.equals(revision, expectedRevision); } EventTypeUpcaster(String expectedPayloadType,
                             String expectedRevision,
                             String upcastedPayloadType,
                             String upcastedRevision); static Builder from(Class<?> payloadType, String revision); static Builder from(String payloadType, String revision); }
EventTypeUpcaster extends SingleEventUpcaster { protected boolean isExpectedRevision(String revision) { return Objects.equals(revision, expectedRevision); } EventTypeUpcaster(String expectedPayloadType,
                             String expectedRevision,
                             String upcastedPayloadType,
                             String upcastedRevision); static Builder from(Class<?> payloadType, String revision); static Builder from(String payloadType, String revision);  }