Esempio n. 1
0
 public function testToArrayValuesEqualToNative()
 {
     $img = new Image([Image::PROPERTY_LOCATION => 'some/other.png', Image::PROPERTY_TITLE => 'other_title']);
     $a = $img->toArray();
     $b = $img->toNative();
     $this->assertEquals($a, $b);
 }