Exemplo n.º 1
0
 /**
  * @covers MarketMeSuite\Phranken\Database\Object\DbObject::toArray
  */
 public function testToArray2()
 {
     $this->object->setToArrayAllowNull(true);
     $this->object->fromArray($this->validDbArrayNullValues);
     $expected = $this->object->toArray($this->validDbArrayNullValues);
     $actual = $this->validDbArrayNullValues;
     $this->assertSame($expected, $actual, 'The object should be able to convert from and array to and object and back again with no issues');
 }