/** * @covers Nethgui\Adapter\TableAdapter::get * @todo Implement testGet(). */ public function testGet() { $e = new \ArrayObject(array('1K' => new \ArrayObject(array('type' => 'T1', '1P' => '1V', '1Q' => '1W')), '2K' => new \ArrayObject(array('type' => 'T2', '2P' => '2V', '2Q' => '2W')), '3K' => new \ArrayObject(array('type' => 'T3', '3P' => '3V', '3Q' => '3W')))); $v = $this->object->get(); $this->assertInstanceOf("ArrayObject", $v); $this->assertEquals($e, $v); }
public function testGet2() { $value = $this->object->get(); $this->assertInstanceOf('ArrayAccess', $value); }