예제 #1
0
 public function testPrice()
 {
     $resource = new Resource();
     $this->assertNull($resource->getPrice());
     $this->assertInstanceOf('iMoneza\\Data\\Resource', $resource->setPrice(13.37));
     $this->assertEquals(13.37, $resource->getPrice());
 }