getActiveFormatters() публичный Метод

public getActiveFormatters ( Symfony\Component\Console\Input\InputInterface $input ) : SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface[]
$input Symfony\Component\Console\Input\InputInterface
Результат SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface[]
 public function testIsFormatterActive()
 {
     $formatter = new OutputFormatterFactory([$this->createNamedFormatter('f1'), $this->createNamedFormatter('f2'), $this->createNamedFormatter('f3')]);
     $input = $this->prophesize(InputInterface::class);
     $input->getOption('formatter-f1')->willReturn(true);
     $input->getOption('formatter-f2')->willReturn(true);
     $input->getOption('formatter-f3')->willReturn(false);
     $this->assertCount(2, $formatter->getActiveFormatters($input->reveal()));
 }