예제 #1
0
 public function testUrl()
 {
     $resource = new Resource();
     $this->assertNull($resource->getURL());
     $this->assertInstanceOf('iMoneza\\Data\\Resource', $resource->setURL('the-url'));
     $this->assertEquals('the-url', $resource->getURL());
 }