Beispiel #1
0
 /**
  * Method to test getDatasetClass().
  *
  * @return void
  *
  * @covers Windwalker\DataMapper\AbstractDataMapper::getDatasetClass
  */
 public function testGetAndSetDatasetClass()
 {
     $this->instance->setDatasetClass('ArrayObject');
     $this->assertEquals('ArrayObject', $this->instance->getDatasetClass());
     $this->assertInstanceOf('ArrayObject', $this->instance->findAll('id', 0, 2));
 }