public function testFacility()
 {
     $this->object->setFacility(Syslog::LOG_AUTH);
     $this->assertEquals(Syslog::LOG_AUTH, $this->object->getFacility());
     try {
         $this->object->setFacility(192);
         $this->fail('Setting an invalid facility should result in a ParameterException');
     } catch (\YapepBase\Exception\ParameterException $e) {
     }
     try {
         $this->object->setFacility(-1);
         $this->fail('Setting an invalid facility should result in a ParameterException');
     } catch (\YapepBase\Exception\ParameterException $e) {
     }
     try {
         $this->object->setFacility(7);
         $this->fail('Setting an invalid facility should result in a ParameterException');
     } catch (\YapepBase\Exception\ParameterException $e) {
     }
 }