### Question:
SerializedEvent { public int size() { return serializedData.length; } SerializedEvent(Event event);  SerializedEvent(byte[] eventFromFile);  SerializedEvent(InputStream event); InputStream asInputStream(); Event asEvent(); int size(); byte[] serializedData(); long getAggregateSequenceNumber(); byte[] getPayload(); String getIdentifier(); String getAggregateType(); String getPayloadType(); String getPayloadRevision(); long getTimestamp(); boolean isDomainEvent(); String getAggregateIdentifier(); long getSequenceNumber(); String getType(); Map<String, Object> getMetaData(); @Override boolean equals(Object o); @Override int hashCode(); ByteString asByteString();  }### Answer:
@Test public void size() { assertEquals(wrapped.getSerializedSize(), testSubject.size()); }