public function testHasNoOptionalParameters() { $descriptor = new InstallerDescriptor('symlink', self::SYMLINK_CLASS, null, array(new InstallerParameter('param', InstallerParameter::REQUIRED))); $this->assertFalse($descriptor->hasOptionalParameters()); }