@Test void testUpcastedType() { SerializedType expectedType = new SimpleSerializedType(UPCASTED_PAYLOAD_TYPE, UPCASTED_REVISION); assertEquals(expectedType, testSubject.upcastedType()); }
protected SerializedType upcastedType() { return new SimpleSerializedType(upcastedPayloadType, upcastedRevision); }
EventTypeUpcaster extends SingleEventUpcaster { protected SerializedType upcastedType() { return new SimpleSerializedType(upcastedPayloadType, upcastedRevision); } }
EventTypeUpcaster extends SingleEventUpcaster { protected SerializedType upcastedType() { return new SimpleSerializedType(upcastedPayloadType, upcastedRevision); } EventTypeUpcaster(String expectedPayloadType,
                             String expectedRevision,
                             String upcastedPayloadType,
                             String upcastedRevision); }
EventTypeUpcaster extends SingleEventUpcaster { protected SerializedType upcastedType() { return new SimpleSerializedType(upcastedPayloadType, upcastedRevision); } 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 SerializedType upcastedType() { return new SimpleSerializedType(upcastedPayloadType, upcastedRevision); } EventTypeUpcaster(String expectedPayloadType,
                             String expectedRevision,
                             String upcastedPayloadType,
                             String upcastedRevision); static Builder from(Class<?> payloadType, String revision); static Builder from(String payloadType, String revision);  }