SinkSpec

abstract class SinkSpec

The Sink contract every sink passes: what a write returned is where the sink writes, a record written again is no more than a duplicate of the same id, and an aggregate's records keep their version order. A sink's test extends it, supplies a sink of aggregateType from createSink, and reads back what its destination holds with written.