Detailed Description

Member Function Documentation

PKPRouterTestCase::_setUpMockDAOs

(

$firstContextPath = 'current-context1',

$secondContextPath = 'current-context2',

$firstContextIsNull = false,

$secondContextIsNull = false

)

protected

Create two mock DAOs "FirstContextDAO" and "SecondContextDAO" that can be used with the standard environment set up when calling self::_setUpMockEnvironment(). Both DAOs will be registered with the DAORegistry and thereby be made available to the router.