@Test public void getMetaData() { assertEquals(10L, testSubject.getMetaData().get("sampleInt")); assertEquals("sampleText", testSubject.getMetaData().get("sample")); }
public Map<String, Object> getMetaData() { Map<String,Object> metaData = new HashMap<>(); asEvent().getMetaDataMap().forEach((key, value) -> metaData.put(key, asObject(value))); return metaData; }
SerializedEvent { public Map<String, Object> getMetaData() { Map<String,Object> metaData = new HashMap<>(); asEvent().getMetaDataMap().forEach((key, value) -> metaData.put(key, asObject(value))); return metaData; } }
SerializedEvent { public Map<String, Object> getMetaData() { Map<String,Object> metaData = new HashMap<>(); asEvent().getMetaDataMap().forEach((key, value) -> metaData.put(key, asObject(value))); return metaData; } SerializedEvent(Event event);  SerializedEvent(byte[] eventFromFile);  SerializedEvent(InputStream event); }
SerializedEvent { public Map<String, Object> getMetaData() { Map<String,Object> metaData = new HashMap<>(); asEvent().getMetaDataMap().forEach((key, value) -> metaData.put(key, asObject(value))); return metaData; } 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(); }
SerializedEvent { public Map<String, Object> getMetaData() { Map<String,Object> metaData = new HashMap<>(); asEvent().getMetaDataMap().forEach((key, value) -> metaData.put(key, asObject(value))); return metaData; } 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();  }