* Codendi is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Codendi. If not, see <http://www.gnu.org/licenses/>.
 */
require_once 'common/user/User.class.php';
Mock::generate('PFUser');
require_once 'common/project/Project.class.php';
Mock::generate('Project');
require_once 'common/project/ProjectManager.class.php';
Mock::generate('ProjectManager');
require_once 'common/include/URLVerification.class.php';
Mock::generatepartial('URLVerification', 'URLVerificationTestVersion2', array('getUrlChunks', 'getProjectManager', 'userCanAccessProject', 'exitError'));
Mock::generatePartial('URLVerification', 'URLVerificationTestVersion3', array('isException', 'verifyProtocol', 'verifyHost', 'verifyRequest', 'getUrlChunks', 'checkRestrictedAccess', 'checkPrivateAccess', 'getRedirectionURL', 'header', 'checkNotActiveProject'));
Mock::generatePartial('URLVerification', 'URLVerificationTestVersion4', array('isException', 'verifyProtocol', 'verifyHost', 'verifyRequest', 'getUrlChunks', 'checkRestrictedAccess', 'checkPrivateAccess', 'getRedirectionURL', 'header', 'checkNotActiveProject', 'getUrl'));
require_once 'common/event/EventManager.class.php';
Mock::generate('EventManager');
class MockEM4Anonymous extends MockEventManager
{
    function processEvent($event, $params)
    {
        foreach (parent::processEvent($event, $params) as $key => $value) {
            $params[$key] = $value;
        }
    }
}
require_once 'common/language/BaseLanguage.class.php';
Mock::generate('BaseLanguage');