@Test
  public void testSetProperties() {
    Map<String, String> props = new HashMap<String, String>();
    props.put("name1", "value1");
    props.put("name2", "value2");
    props.put("name3", "value3");

    JerseyConfiguration instance = new JerseyConfiguration().setProperties(props);
    assertEquals("value1", instance.getProperty("name1"));
    assertEquals("value2", instance.getProperty("name2"));
    assertEquals("value3", instance.getProperty("name3"));
    assertNull(instance.getProperty("other"));
  }
  @Test
  public void testSnapshot() {
    JerseyConfiguration c_a = new JerseyConfiguration().setProperty("common_name", "common_value");

    JerseyConfiguration c_b = c_a.snapshot();
    assertNotNull(c_b);
    assertNotSame(c_a, c_b);
    assertEquals(c_a, c_b);
    assertEquals("common_value", c_a.getProperty("common_name"));
    assertEquals("common_value", c_b.getProperty("common_name"));

    c_b.setProperty("name", "value");

    assertFalse(c_a.equals(c_b));
    assertEquals("value", c_b.getProperty("name"));
    assertNull(c_a.getProperty("name"));
  }
  @Test
  public void testSetProperty() {
    JerseyConfiguration instance = new JerseyConfiguration();
    assertTrue(instance.getProperties().isEmpty());

    instance.setProperty("name", "value");
    assertFalse(instance.getProperties().isEmpty());
    assertEquals(1, instance.getProperties().size());
    assertEquals("value", instance.getProperty("name"));
  }
 @Test
 public void testGetProperty() {
   JerseyConfiguration instance = new JerseyConfiguration().setProperty("name", "value");
   assertEquals("value", instance.getProperty("name"));
   assertNull(instance.getProperty("other"));
 }