/** * @test */ public function it_returns_nothing_when_trying_to_load_non_existing_stream() { $streamName = $this->prophesize(StreamName::class); $streamName->toString()->willReturn('test'); $this->assertNull($this->adapter->load($streamName->reveal())); }