@Test
public void testToJsonString()
{

	ServerInfo serverInfo  = new ServerInfo("test", StateId.ONLINE.name(), new InetSocketAddress("localhost", 9000),
			"source1", "source2", "source3", "source4");
	String jsonString = serverInfo.toJsonString();
	assertEquals(true, jsonString.contains("\"name\":\"test\""));
	assertEquals(true, jsonString.contains("[\"source1\",\"source2\",\"source3\",\"source4\"]"));
}