diff --git a/spec/Configurator/StatsdProcessorConfiguratorSpec.php b/spec/Configurator/StatsdProcessorConfiguratorSpec.php new file mode 100644 index 0000000..c992c89 --- /dev/null +++ b/spec/Configurator/StatsdProcessorConfiguratorSpec.php @@ -0,0 +1,41 @@ +beConstructedWith($eventDispatcher); + } + + function it_is_initializable() + { + $this->shouldHaveType(StatsdProcessorConfigurator::class); + } + + function it_returns_processor_arguments($eventDispatcher) + { + $this->getProcessorArguments([])->shouldReturn([ + StatsdProcessor::class, + $eventDispatcher, + ]); + } + + function it_returns_command_options() + { + $this->getCommandOptions()->shouldReturn([]); + } + + function it_resolves_options(InputInterface $input) + { + $this->resolveOptions($input)->shouldReturn([]); + } +}