assertEquals( false, $options->stripBccHeader ); } public function testMailOptionsSet() { $options = new ezcMailOptions(); $options->stripBccHeader = true; $this->assertEquals( true, $options->stripBccHeader ); } public function testMailOptionsSetInvalid() { $options = new ezcMailOptions(); try { $options->stripBccHeader = 'xxx'; $this->fail( "Expected exception was not thrown" ); } catch ( ezcBaseValueException $e ) { } } public function testMailOptionsSetNotExistent() { $options = new ezcMailOptions(); try { $options->no_such_option = 'xxx'; $this->fail( "Expected exception was not thrown" ); } catch ( ezcBasePropertyNotFoundException $e ) { } } public static function suite() { return new PHPUnit_Framework_TestSuite( __CLASS__ ); } } ?>