public function runWithInput($digits) { preg_match_all('/([0-9*# X])/', $digits, $matches); $this->mockedInput = $matches[1]; return $this; }