/**
  * test creation of snom settings
  *
  */
 public function testCreateSnomSetting()
 {
     $test = $this->_getSnomSetting();
     $returned = $this->_json->saveSnomSetting($test->toArray());
     $this->assertEquals($test['name'], $returned['name']);
     $this->assertEquals($test['description'], $returned['description']);
     $this->assertNotNull($returned['id']);
     // test getSnomSettings as well
     $returnedGet = $this->_json->getSnomSetting($returned['id']);
     $this->assertEquals($test['name'], $returnedGet['name']);
     $this->assertEquals($test['description'], $returnedGet['description']);
 }