/** * Tests Gadget->getWidth() */ public function testGetWidth() { $this->assertEquals("100", $this->gadget->getWidth()); }
/** * Tests Gadget->getWidth() */ public function testGetWidth() { $this->Gadget->width = 100; $this->assertEquals(100, $this->Gadget->getWidth()); }