public boolean hasEnvironmentAssociated() {
        if (environmentName != null) {
            return true;
        }
        return false;
    }
@Test
    public void hasEnvironmentAssociated_shouldReturnFalseWhenAPipelineIsNotAssociatedWithAnEnvironment() {
        EnvironmentPipelineModel foo = new EnvironmentPipelineModel("foo","env-name");
        assertThat(foo.hasEnvironmentAssociated(), is(true));
    }