protected function assertThatStreamDoesNotExist($streamId) { $exception = null; try { $this->eventStore->readStream($streamId); } catch (\Exception $exception) { } $this->assertInstanceOf(StreamDoesNotExist::class, $exception); }