test_class.file: cassandra-migration/src/test/java/org/cognitor/cassandra/migration/keyspace/NetworkStrategyTest.java
test_class.identifier: NetworkStrategyTest
test_case.body: @Test(expected = IllegalArgumentException.class)
      public void shouldThrowExceptionWhenReplicatonFactorLessThenOneGiven() {
          new NetworkStrategy().with("EAST", -1);
      }
test_case.class_method_signature: NetworkStrategyTest.shouldThrowExceptionWhenReplicatonFactorLessThenOneGiven()
test_case.full_signature: @Test(expected = IllegalArgumentException.class) public void shouldThrowExceptionWhenReplicatonFactorLessThenOneGiven()
test_case.identifier: shouldThrowExceptionWhenReplicatonFactorLessThenOneGiven
test_case.invocations: with
test_case.modifiers: @Test(expected = IllegalArgumentException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldThrowExceptionWhenReplicatonFactorLessThenOneGiven()
focal_class.declarator: dataCenters = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, Integer> dataCenters = new HashMap<>();
focal_class.type: Map<String, Integer>
focal_class.var_name: dataCenters
focal_class.file: cassandra-migration/src/main/java/org/cognitor/cassandra/migration/keyspace/NetworkStrategy.java
focal_class.identifier: NetworkStrategy
focal_class.interfaces: implements ReplicationStrategy
focal_class.class_method_signature: NetworkStrategy.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: NetworkStrategy.createCqlStatement()
focal_class.full_signature: @Override public String createCqlStatement()
focal_class.identifier: createCqlStatement
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String createCqlStatement()
focal_class.class_method_signature: NetworkStrategy.with(String datacenter, int replicationFactor)
focal_class.full_signature: public NetworkStrategy with(String datacenter, int replicationFactor)
focal_class.identifier: with
focal_class.modifiers: public
focal_class.parameters: (String datacenter, int replicationFactor)
focal_class.return: NetworkStrategy
focal_class.signature: NetworkStrategy with(String datacenter, int replicationFactor)
focal_class.class_method_signature: NetworkStrategy.getDataCenters()
focal_class.full_signature: public Map<String, Integer> getDataCenters()
focal_class.identifier: getDataCenters
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, Integer>
focal_class.signature: Map<String, Integer> getDataCenters()
focal_method.body: public NetworkStrategy with(String datacenter, int replicationFactor) {
          notNullOrEmpty(datacenter, "datacenter");
          if (replicationFactor < 1) {
              throw new IllegalArgumentException("Replication Factor must be greater than zero");
          }
          dataCenters.put(datacenter, replicationFactor);
          return this;
      }
focal_method.class_method_signature: NetworkStrategy.with(String datacenter, int replicationFactor)
focal_method.full_signature: public NetworkStrategy with(String datacenter, int replicationFactor)
focal_method.identifier: with
focal_method.invocations: notNullOrEmpty put
focal_method.modifiers: public
focal_method.parameters: (String datacenter, int replicationFactor)
focal_method.return: NetworkStrategy
focal_method.signature: NetworkStrategy with(String datacenter, int replicationFactor)