/**
  * @param \Box\TestScribe\_fixture\_input\CalculatorFactory $factory
  */
 function __construct(CalculatorFactory $factory)
 {
     $this->factory = $factory;
     $this->logger = ServiceLocator::resolve('\\Box\\TestScribe\\_fixture\\_input\\Logger');
 }
 /**
  * Used for testing service locator usage.
  *
  * @param int $additionalValue
  *
  * @return int
  */
 public function calculateWithACalculator($additionalValue)
 {
     $calc = ServiceLocator::resolve('\\Box\\TestScribe\\_fixture\\_input\\CalculatorWithState', [1]);
     $rc = $calc->add($additionalValue);
     return $rc;
 }