//Build the connection manager
ConnectionManager cm = getConnectionManager();
//Build our keyspace definition object
CKeyspaceDefinition definition = JsonUtil.objectFromJsonResource(CKeyspaceDefinition.class, this.getClass().getClassLoader(), "CKeyspaceTestData.js");
assertNotNull(definition);
definition.getDefinitions().get("testtype");
//Build the keyspace, get the object mapper, and truncate data
cm.buildKeyspace(definition, true);
cm.setDefaultKeyspace(definition);
ObjectMapper om = cm.getObjectMapper(definition.getName());
om.setExecuteAsync(false);
//Insert one object which is filtered and one which is not
Map<String, Object> testObject = Maps.newHashMap();
testObject.put("foreignid", 123l);