Email = new Email('ADDRESS', 'TYPE'); } /** * Cleans up the environment after running a test. */ protected function tearDown() { $this->Email = null; parent::tearDown(); } /** * Tests Email->getType() */ public function testGetType() { $this->assertEquals('TYPE', $this->Email->getType()); } /** * Tests Email->setAddress() */ public function testSetAddress() { $this->Email->setValue('address'); $this->assertEquals('address', $this->Email->getValue()); } /** * Tests Email->setType() */ public function testSetType() { $this->Email->setType('type'); $this->assertEquals('type', $this->Email->getType()); } }