public function testSettersGetters() { // Setters should accept any value, without validation $expected = "Random string value"; $appender = new LoggerAppenderSyslog(); $appender->setIdent($expected); $appender->setFacility($expected); $appender->setOverridePriority($expected); $appender->setPriority($expected); $appender->setOption($expected); $actuals = array($appender->getIdent(), $appender->getFacility(), $appender->getOverridePriority(), $appender->getPriority(), $appender->getOption()); foreach ($actuals as $actual) { $this->assertSame($expected, $actual); } }