function testHook() { $Svn = new Svn($this->__repos[1]); $Svn->hook('post-commit'); $this->assertTrue(file_exists($Svn->path . DS . 'hooks' . DS . 'post-commit')); }