/**
* test.
*/
@Test
public void networkdTestDC() {
KeySpaceQueryInformation query = new KeySpaceQueryInformation();
query.setReplicaStrategy(ReplicaStrategy.NETWORK_TOPOLOGY_STRATEGY);
query.setKeySpace("javabahia");
Map<String, Integer> map = new LinkedHashMap<>();
query.setDataCenter(map);
query.getDataCenter().put("DC1", 1);
query.getDataCenter().put("DC2", THREE);
CreateKeySpace createKeySpace = FixKeySpaceUtil.INSTANCE
.getCreate(query.getReplicaStrategy());
Assert.assertEquals(
createKeySpace.createQuery(query),
NETWORK_DC_TEST);
}