assertEquals(MediaType.APPLICATION_JSON_TYPE, response.getMetadata().get("Content-Type").get(0));
}
// TODO: create CassandraController interface and inject, instead of static util method
private Expectations expectCassandraStartup() {
return new Expectations() {{
config.getCassStartupScript(); result = "/usr/bin/false";
config.getHeapNewSize(); result = "2G";
config.getHeapSize(); result = "8G";
config.getDataFileLocation(); result = "/var/lib/cassandra/data";
config.getCommitLogLocation(); result = "/var/lib/cassandra/commitlog";