/**
  * @SuppressWarnings(PHPMD.StaticAccess)
  */
 public function __construct()
 {
     $this->propertyAsText = NULLTextGenerator::getInstance();
 }
 /**
  * @SuppressWarnings(PHPMD.StaticAccess)
  */
 public function __construct()
 {
     $this->builder = (new BareLabelGeneratorBuilder())->registerLabelGeneratorPrototype(Counter::class, new CounterLabelGenerator())->registerLabelGeneratorPrototype(ListAggregator::class, new ListAggregatorLabelGenerator())->registerLabelGeneratorPrototype(Filter::class, new FilterLabelGenerator())->registerLabelGeneratorPrototype(GroupingAggregator::class, new GroupingAggregatorLabelGenerator())->registerLabelGeneratorPrototype(Container::class, NULLTextGenerator::getInstance())->registerLabelGeneratorPrototype(AggregatorOfSubjectsWithCommonProperties::class, new AggregatorOfSubjectsWithCommonPropertiesLabelGenerator())->registerLabelGeneratorPrototype(NodeAggregator::class, new HierarchyNodeAggregatorLabelGenerator())->registerLabelGeneratorPrototype(HierarchicalAggregator::class, new HierarchicalAggregatorLabelGenerator())->registerLabelGeneratorPrototype(ProjectionAggregator::class, new ProjectionLabelGenerator())->registerLabelGeneratorPrototype(MoreThan::class, new MoreThanLabelGenerator())->registerLabelGeneratorPrototype(Percentage::class, new PercentageLabelGenerator())->registerLabelGeneratorPrototype(Limit::class, new LimitLabelGenerator())->registerLabelGeneratorPrototype(PropertyList::class, new PropertyListLabelGenerator())->registerLabelGeneratorPrototype(WithCustomLabel::class, new WithCustomLabelLabelGenerator());
 }
 /**
  * @SuppressWarnings(PHPMD.StaticAccess)
  */
 public function __construct()
 {
     $this->projectorToText = NULLTextGenerator::getInstance();
 }
 /**
  * @SuppressWarnings(PHPMD.StaticAccess)
  */
 public function __construct()
 {
     $this->propertyReaderToTextConverter = NULLTextGenerator::getInstance();
 }
 /**
  * @SuppressWarnings(PHPMD.StaticAccess)
  */
 public function __construct()
 {
     $this->requirementAsText = NULLTextGenerator::getInstance();
 }
 /**
  * @SuppressWarnings(PHPMD.StaticAccess)
  */
 public function __construct()
 {
     $this->requirementToTextConverter = NULLTextGenerator::getInstance();
 }
 public function testUsingTheFirstGeneratorThatSupportsSomeInput()
 {
     $this->chain->add(new ClassBasedTextGenerator())->add(new TextGeneratorWithDefaultText(new SimpleTextGeneratorProxy(), "expected result"))->add(NULLTextGenerator::getInstance());
     $this->assertEquals("expected result", $this->chain->getTextBasedOn("some input"));
 }