object = new databox_Field_DCES_Coverage; } public function testGet_label() { $data = explode('_', __CLASS__); $name = str_replace('Test', '', array_pop($data)); $this->assertEquals($name, $this->object->get_label()); } public function testGet_definition() { $this->assertTrue(is_string($this->object->get_definition())); $this->assertTrue(strlen($this->object->get_definition()) > 20); } public function testGet_documentation_link() { $this->assertRegExp('/^http:\/\/dublincore\.org\/documents\/dces\/#[a-z]+$/', $this->object->get_documentation_link()); } }