     EventStoreStub.find.yields null, [
       name: 'create'
       aggregate:
+        id: 23
+        name: 'Foo'
         changed:
           props:
             name: 'John'

        expect(readAggregates[0]).to.be.a ReadFoo
        done()

  describe.skip '#findOne', ->

    it 'should call find and return only one result'


  describe.skip '#findIds', ->

    it 'should return all AggregateIds matching the given query-criteria', ->
      criteria = {}
      sandbox.stub readAggregateRepository._adapter, '_findAggregateIdsByDomainEventCriteria', -> [42]
      aggregateIds = readAggregateRepository.findIds criteria
      expect(aggregateIds.length).to.be 1
      expect(aggregateIds[0]).to.be 42

        done()

    it 'should return a instantiated ReadAggregate containing the applied DomainEvents', (done) ->
      readAggregateRepository.findById 'ReadFoo', 23, (err, readAggregate) ->
        expect(readAggregate.name).to.be 'John'
        done()

