object=new Dossier(DOSSIER); } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown():void { } /** * @covers Dossier::synchro_admin */ public function testSynchro_admin() { Dossier::synchro_admin(DOSSIER); // nothing to test $this->assertTrue(true); } /** * @testdox Test Dossier::id() * @covers ::id */ public function testID() { $this->assertEquals(DOSSIER,Dossier::id(),"Id() doesn't work"); } /** * @testdox Load */ public function testLoad() { global $g_connection; $obj=new Dossier(DOSSIER); $obj->load(); $this->assertEquals(DOSSIER,$obj->get_parameter("id"),"Not the right folder"); } }