assertTrue($rc->implementsInterface(Processor::class)); } public function testShouldBeFinal() { $rc = new \ReflectionClass(RunCommandProcessor::class); $this->assertTrue($rc->isFinal()); } public function testCouldBeConstructedWithProjectDirAsFirstArgument() { $processor = new RunCommandProcessor('aProjectDir'); $this->assertAttributeSame('aProjectDir', 'projectDir', $processor); } }