ImmutableEnvironment implements Environment { @Override public String getName() { return envName; } ImmutableEnvironment(String envName); @Override String getName(); @Override String toString();  }
@Test void returnsConstantEnvName() { String environmentName = "sampleEnvironment"; ImmutableEnvironment strategy = new ImmutableEnvironment(environmentName); assertThat(strategy.getName()).isEqualTo(environmentName); }