public void Should_Return_False_If_Not_Running_On_Bamboo() { // Given var fixture = new BambooFixture(); var bamboo = fixture.CreateBambooService(); // When var result = bamboo.IsRunningOnBamboo; // Then Assert.False(result); }
public void Should_Return_Non_Null_Reference() { // Given var fixture = new BambooFixture(); var bamboo = fixture.CreateBambooService(); // When var result = bamboo.Environment; // Then Assert.NotNull(result); }
public void Should_Return_True_If_Running_On_Bamboo() { // Given var fixture = new BambooFixture(); fixture.IsRunningOnBamboo(); var Bamboo = fixture.CreateBambooService(); // When var result = Bamboo.IsRunningOnBamboo; // Then Assert.True(result); }