@Test void testIsExpectedPayloadType() { assertTrue(testSubject.isExpectedPayloadType(EXPECTED_PAYLOAD_TYPE)); assertFalse(testSubject.isExpectedPayloadType(UPCASTED_PAYLOAD_TYPE)); }
protected boolean isExpectedPayloadType(String payloadType) { return Objects.equals(payloadType, expectedPayloadType); }
EventTypeUpcaster extends SingleEventUpcaster { protected boolean isExpectedPayloadType(String payloadType) { return Objects.equals(payloadType, expectedPayloadType); } }
EventTypeUpcaster extends SingleEventUpcaster { protected boolean isExpectedPayloadType(String payloadType) { return Objects.equals(payloadType, expectedPayloadType); } EventTypeUpcaster(String expectedPayloadType,
                             String expectedRevision,
                             String upcastedPayloadType,
                             String upcastedRevision); }
EventTypeUpcaster extends SingleEventUpcaster { protected boolean isExpectedPayloadType(String payloadType) { return Objects.equals(payloadType, expectedPayloadType); } 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 isExpectedPayloadType(String payloadType) { return Objects.equals(payloadType, expectedPayloadType); } EventTypeUpcaster(String expectedPayloadType,
                             String expectedRevision,
                             String upcastedPayloadType,
                             String upcastedRevision); static Builder from(Class<?> payloadType, String revision); static Builder from(String payloadType, String revision);  }