protected static function recordMethodCall($method, $path) { if (isset(self::$calledMethods[$path]) === false) { self::$calledMethods[$path] = array(); } self::$calledMethods[$path][] = $method; }