Files
Phraseanet/lib/unitTest/Bridge/Api/Auth/Bridge_Api_Auth_AbstractTest.php
2012-01-11 20:04:47 +01:00

24 lines
616 B
PHP

<?php
require_once __DIR__ . '/../../../PhraseanetPHPUnitAuthenticatedAbstract.class.inc';
require_once __DIR__ . '/../../Bridge_datas.inc';
/**
* Test class for Bridge_Api_Auth_Abstract.
* Generated by PHPUnit on 2011-10-12 at 18:44:43.
*/
class Bridge_Api_Auth_AbstractTest extends PHPUnit_Framework_TestCase
{
public function testSet_settings()
{
$stub = $this->getMockForAbstractClass('Bridge_Api_Auth_Abstract');
$setting = $this->getMock("Bridge_AccountSettings", array(), array(), '' , false);
$return = $stub->set_settings($setting);
$this->assertEquals($stub, $return);
}
}
?>