public function __construct($mockName, $methodName, $logger = null) { parent::__construct($mockName, $methodName, $logger); $this->prefixError = "Expectation [{$methodName}]: "; $this->times = 1; $this->expectedTimes = 1; }