public function testConstruct()
{
$expected = array('identity' => false, 'options' => LOG_ODELAY, 'facility' => LOG_USER, 'init' => true);
$result = $this->syslog->_config;
$this->assertEqual($expected, $result);
$syslog = new Syslog(array('identity' => 'SyslogTest', 'priority' => LOG_DEBUG));
$expected = array('identity' => 'SyslogTest', 'options' => LOG_ODELAY, 'facility' => LOG_USER, 'priority' => LOG_DEBUG, 'init' => true);
$result = $syslog->_config;
$this->assertEqual($expected, $result);
}