getName()) { throw new InvalidArgumentException('MockConfiguration must contain a name'); } $this->config = $config; $this->code = $code; } /** * @return string */ public function getClassName() { return $this->config->getName(); } /** * @return string */ public function getCode() { return $this->code; } /** * @return MockConfiguration */ public function getConfig() { return $this->config; } }