@Test
	public void testNameStoreInit() {
		System.setProperty("ngrinder.etc.hosts", "aaa.com:1.1.1.1,bbb.com:2.2.2.2");
		NameStore.getInstance().reset();
		Set<InetAddress> ips = NameStore.getInstance().get("aaa.com");
		assertThat(ips.iterator().next().getHostAddress(), is("1.1.1.1"));

		NameStore.getInstance().remove("bbb.com");
		ips = NameStore.getInstance().get("bbb.com");
		assertThat(ips, nullValue());

	}
NameStore test class

@author mavlarn
@since 3.0
ngrinder-runtime/src/test/java/org/ngrinder/dns/NameStoreTest.java