@Test
public void getName() throws Exception {

    ProviderGroup pg = new ProviderGroup(null, null);
    Assert.assertNull(pg.getName());
    pg = new ProviderGroup("xxx");
    Assert.assertEquals(pg.getName(), "xxx");
    pg = new ProviderGroup("xxx", null);
    Assert.assertEquals(pg.getName(), "xxx");
}