public function testGetterSetter() { $sUT = new Schema(); $description = 'im'; $dollarSchema = 'a'; $id = 'test'; $required = 'very'; $title = 'super'; $type = 'efficient'; $sUT->setDescription($description); $sUT->setDollarSchema($dollarSchema); $sUT->setId($id); $sUT->addRequired($required); $sUT->setTitle($title); $sUT->setType($type); $this->assertEquals($description, $sUT->getDescription()); $this->assertEquals($dollarSchema, $sUT->getDollarSchema()); $this->assertEquals($id, $sUT->getId()); $this->assertEquals(array($required), $sUT->getRequired()); $this->assertEquals($title, $sUT->getTitle()); $this->assertEquals($type, $sUT->getType()); }