public function test_that_create_returns_exception_instance() { $exception = EventStoreException::create('Something went wrong'); $this->assertInstanceOf('Novuso\\Common\\Domain\\EventStore\\Exception\\EventStoreException', $exception); }