<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,6 +4,7 @@ if (!defined('SNAPTEST_ROOT')) {
     define('SNAPTEST_ROOT', dirname(__FILE__) . DIRECTORY_SEPARATOR);
     define('SNAPTEST_CORE', SNAPTEST_ROOT . 'core' . DIRECTORY_SEPARATOR);
     define('SNAPTEST_UTIL', SNAPTEST_CORE . 'util' . DIRECTORY_SEPARATOR);
+    define('SNAPTEST_WEBFILES', SNAPTEST_UTIL . 'webfiles' . DIRECTORY_SEPARATOR);
     define('SNAPTEST_LOADERS', SNAPTEST_CORE . 'loader' . DIRECTORY_SEPARATOR . 'loaders' . DIRECTORY_SEPARATOR);
     define('SNAPTEST_REPORTERS', SNAPTEST_CORE . 'reporter' . DIRECTORY_SEPARATOR . 'reporters' . DIRECTORY_SEPARATOR);
     </diff>
      <filename>constants.php</filename>
    </modified>
    <modified>
      <diff>@@ -441,7 +441,6 @@ class Snap_MockObject {
         // no default. If it is inherited, fall to original
         if ($this-&gt;isInherited()) {
             $method_call = $this-&gt;class_signature.'_'.$method_name.'_original';
-
             if ($this-&gt;hasStaticMethods()) {
                 if (method_exists(get_class($this-&gt;constructed_object), $method_call)) {
                     return call_user_func_array(array(get_class($this-&gt;constructed_object), $method_call), $method_params);
@@ -628,7 +627,8 @@ class Snap_MockObject {
         $get_mock = (($is_static) ? 'self::'.$this-&gt;class_signature : '$this-&gt;'.$this-&gt;class_signature).'_getMock'.(($is_static) ? '_static' : '');
 
         // build a param string
-        $param_string = '';
+        $param_string = ''; // with defaults
+        $original_param_string = ''; // without
         foreach ($method-&gt;getParameters() as $i =&gt; $param) {
             $default_value = ($param-&gt;isOptional()) ? '=' . var_export($param-&gt;getDefaultValue(), TRUE) : '';
             $type = ($param-&gt;getClass()) ? $param-&gt;getClass()-&gt;getName().' ' : '';
@@ -636,8 +636,10 @@ class Snap_MockObject {
             $ref = ($param-&gt;isPassedByReference()) ? '&amp;' : '';
 
             $param_string .= $type . $ref . '$'.$param-&gt;getName().$default_value.',';
+            $original_param_string .= $type . $ref . '$'.$param-&gt;getName().',';
         }
         $param_string = trim($param_string, ',');
+        $original_param_string = trim($original_param_string, ',');
         
         // build the output for a normal object, if it isn't a constructor
         // if it is a constructor, use a special global for setting it
@@ -665,7 +667,7 @@ class Snap_MockObject {
             }
             else {
                 $output .= 'public function '.$this-&gt;class_signature.'_'.$method_name.'_original('.$param_string.') {'.$endl;
-                $output .= '    return parent::'.$method_name.'('.$param_string.');'.$endl;
+                $output .= '    return parent::'.$method_name.'('.$original_param_string.');'.$endl;
                 $output .= '}'.$endl;
             }
         }</diff>
      <filename>core/mock/mock.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d1757307211258d88bdbf4fe9bc8183ae425b7bb</id>
    </parent>
  </parents>
  <author>
    <name>Jakob Heuser</name>
    <email>jakob@felocity.org</email>
  </author>
  <url>http://github.com/Jakobo/snaptest/commit/1c011012b497c2efb907eece402d4a259332da07</url>
  <id>1c011012b497c2efb907eece402d4a259332da07</id>
  <committed-date>2008-05-26T23:56:55-07:00</committed-date>
  <authored-date>2008-05-26T23:56:55-07:00</authored-date>
  <message>cleaned up a bug with requiring inheritance and method passthroughs on the _original

Signed-off-by: Jakob Heuser &lt;jakob@felocity.org&gt;</message>
  <tree>297d0a45fb8fb6e39430e9764f8592f89cd5ebef</tree>
  <committer>
    <name>Jakob Heuser</name>
    <email>jakob@felocity.org</email>
  </committer>
</commit>
