ProviderGroup { public List<ProviderInfo> getProviderInfos() { return providerInfos; } ProviderGroup();  ProviderGroup(String name);  ProviderGroup(String name, List<ProviderInfo> providerInfos);  ProviderGroup(List<ProviderInfo> providerInfos); String getName(); List<ProviderInfo> getProviderInfos(); void setProviderInfos(List<ProviderInfo> providerInfos); boolean isEmpty(); int size(); ProviderGroup add(ProviderInfo providerInfo); ProviderGroup addAll(Collection<ProviderInfo> providerInfos); ProviderGroup remove(ProviderInfo providerInfo); ProviderGroup removeAll(List<ProviderInfo> providerInfos); @Override String toString();  }
@Test public void getProviderInfos() throws Exception { ProviderGroup pg = new ProviderGroup("xxx", null); Assert.assertNotNull(pg.getProviderInfos()); Assert.assertTrue(pg.getProviderInfos().size() == 0); }