/** * @requires PHP 5.4 */ public function testDistillUsingExcludeTraitMethodOption() { require __DIR__ . '/_files/DistillTestClassWithTrait.php'; $this->interfaceDistiller->excludeTraitMethods()->distill('\\DistillTestClassWithTrait', 'DistillWithTraitsExcludedOptionSetInterface'); $this->assertWrittenInterfaceEqualsExpectedFile('distillWithTraitsExcludedOptionSetInterface.php'); }