/** * Tests Gadget->getSingleton() */ public function testGetSingleton() { $this->assertEquals('true', $this->gadget->getSingleton()); }
/** * Tests Gadget->getSingleton() */ public function testGetSingleton() { $this->Gadget->singleton = 'singleton'; $this->assertEquals('singleton', $this->Gadget->getSingleton()); }