public function testApiConstructor_ThrowsException_WhenNoRuntimeIsPassed() { $this->setExpectedException(InstantiationException::class); $this->createCommand(['runtime' => null]); }