when($result = new \Mock\Hoa\Visitor\Visit()) ->object($result) ->isInstanceOf('Hoa\Visitor\Visit'); } }