* @license http://www.horde.org/licenses/lgpl21 LGPL
* @link http://www.horde.org/components/Horde_Test
*/
class Horde_Test_Factory_Registry
{
/**
* Create a stub registry service for testing.
*
* @param array $params Additional options.
*
* 'app' - (string) The application name.
* 'user' - (string) The current user.
*
*
* @return Horde_Test_Stub_Registry The test registry.
*/
public function create($params)
{
return new Horde_Test_Stub_Registry($params['user'], $params['app']);
}
}