@Override
    public PipelineConfigs getLocal() {
        if (this.isLocal())
            return this;
        return null;
    }
@Test
    public void shouldReturnSelfForGetLocalWhenOriginIsNull() {
        PipelineConfigs pipelineConfigs = createEmpty();
        assertThat(pipelineConfigs.getLocal().size(), is(0));
        assertSame(pipelineConfigs, pipelineConfigs.getLocal());
    }