Search in sources :

Example 1 with UIConfigOrigin

use of com.thoughtworks.go.config.remote.UIConfigOrigin in project gocd by gocd.

the class BasicEnvironmentConfigTest method shouldReturnSelfAsLocalPartWhenOriginIsUI.

@Test
void shouldReturnSelfAsLocalPartWhenOriginIsUI() {
    environmentConfig.setOrigins(new UIConfigOrigin());
    assertThat(environmentConfig.getLocal()).isSameAs(environmentConfig);
}
Also used : UIConfigOrigin(com.thoughtworks.go.config.remote.UIConfigOrigin) Test(org.junit.jupiter.api.Test)

Aggregations

UIConfigOrigin (com.thoughtworks.go.config.remote.UIConfigOrigin)1 Test (org.junit.jupiter.api.Test)1