/** * @return void */ public function testDistillUsingFilter() { $this->interfaceDistiller->filterMethodsByPattern('(^public.+WithParameters$)')->distill('\\com\\github\\gooh\\InterfaceDistiller\\DistillTestClass', 'DistillWithFilterInterface'); $this->assertWrittenInterfaceEqualsExpectedFile('distillWithFilterInterface.php'); }