@Test
public void testToMap() throws AmbariException {

  Gson gson = new Gson();
  KerberosServiceDescriptor descriptor = createFromMap();
  Assert.assertNotNull(descriptor);
  Assert.assertEquals(gson.toJson(MAP_VALUE), gson.toJson(descriptor.toMap()));
}