test_class.file: cassandra-migration/src/test/java/org/cognitor/cassandra/migration/keyspace/KeyspaceTest.java
test_class.identifier: KeyspaceTest
test_case.body: @Test
      public void shouldCreateCqlStatementWithSimpleStrategyWhenNoStrategyGiven() {
          Keyspace keyspace = new Keyspace("test");
          assertThat(keyspace.getCqlStatement(), is(equalTo(
                  "CREATE KEYSPACE IF NOT EXISTS test WITH REPLICATION = {'class':'SimpleStrategy','replication_factor':1} " +
                          "AND DURABLE_WRITES = true"
          )));
      }
test_case.class_method_signature: KeyspaceTest.shouldCreateCqlStatementWithSimpleStrategyWhenNoStrategyGiven()
test_case.full_signature: @Test public void shouldCreateCqlStatementWithSimpleStrategyWhenNoStrategyGiven()
test_case.identifier: shouldCreateCqlStatementWithSimpleStrategyWhenNoStrategyGiven
test_case.invocations: assertThat getCqlStatement is equalTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldCreateCqlStatementWithSimpleStrategyWhenNoStrategyGiven()
focal_class.declarator: keyspaceName
focal_class.modifier: private final
focal_class.original_string: private final String keyspaceName;
focal_class.type: String
focal_class.var_name: keyspaceName
focal_class.declarator: durableWrites
focal_class.modifier: private
focal_class.original_string: private boolean durableWrites;
focal_class.type: boolean
focal_class.var_name: durableWrites
focal_class.declarator: replicationStrategy
focal_class.modifier: private
focal_class.original_string: private ReplicationStrategy replicationStrategy;
focal_class.type: ReplicationStrategy
focal_class.var_name: replicationStrategy
focal_class.file: cassandra-migration/src/main/java/org/cognitor/cassandra/migration/keyspace/Keyspace.java
focal_class.identifier: Keyspace
focal_class.class_method_signature: Keyspace.Keyspace(String keyspaceName)
focal_class.full_signature: public  Keyspace(String keyspaceName)
focal_class.identifier: Keyspace
focal_class.modifiers: public
focal_class.parameters: (String keyspaceName)
focal_class.signature:  Keyspace(String keyspaceName)
focal_class.class_method_signature: Keyspace.getKeyspaceName()
focal_class.full_signature: public String getKeyspaceName()
focal_class.identifier: getKeyspaceName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getKeyspaceName()
focal_class.class_method_signature: Keyspace.withoutDurableWrites()
focal_class.full_signature: public Keyspace withoutDurableWrites()
focal_class.identifier: withoutDurableWrites
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Keyspace
focal_class.signature: Keyspace withoutDurableWrites()
focal_class.class_method_signature: Keyspace.with(ReplicationStrategy replicationStrategy)
focal_class.full_signature: public Keyspace with(ReplicationStrategy replicationStrategy)
focal_class.identifier: with
focal_class.modifiers: public
focal_class.parameters: (ReplicationStrategy replicationStrategy)
focal_class.return: Keyspace
focal_class.signature: Keyspace with(ReplicationStrategy replicationStrategy)
focal_class.class_method_signature: Keyspace.isDurableWrites()
focal_class.full_signature: public boolean isDurableWrites()
focal_class.identifier: isDurableWrites
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDurableWrites()
focal_class.class_method_signature: Keyspace.getReplicationStrategy()
focal_class.full_signature: public ReplicationStrategy getReplicationStrategy()
focal_class.identifier: getReplicationStrategy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ReplicationStrategy
focal_class.signature: ReplicationStrategy getReplicationStrategy()
focal_class.class_method_signature: Keyspace.getCqlStatement()
focal_class.full_signature: public String getCqlStatement()
focal_class.identifier: getCqlStatement
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCqlStatement()
focal_method.body: public String getCqlStatement() {
          StringBuilder builder = new StringBuilder(60);
          builder.append("CREATE KEYSPACE IF NOT EXISTS ")
                  .append(getKeyspaceName())
                  .append(" WITH REPLICATION = ")
                  .append(getReplicationStrategy().createCqlStatement())
                  .append(" AND DURABLE_WRITES = ")
                  .append(Boolean.toString(isDurableWrites()));
          return builder.toString();
      }
focal_method.class_method_signature: Keyspace.getCqlStatement()
focal_method.full_signature: public String getCqlStatement()
focal_method.identifier: getCqlStatement
focal_method.invocations: append append append append append append getKeyspaceName createCqlStatement getReplicationStrategy toString isDurableWrites toString
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getCqlStatement()