/** * @test */ public function it_returns_nothing_when_trying_to_load_events_by_metadata_fro_omn_non_existing_stream() { $streamName = $this->prophesize(StreamName::class); $streamName->toString()->willReturn('test'); $this->assertEmpty($this->adapter->loadEvents($streamName->reveal(), [])); }