public void Should_Return_True_If_Running_On_VSTS() { // Given var fixture = new TFBuildFixture(); fixture.IsRunningOnVSTS(); var vsts = fixture.CreateTFBuildService(); // When var result = vsts.IsRunningOnVSTS; // Then Assert.True(result); }
public void Should_Return_True_If_Running_On_VSTS() { // Given var fixture = new TFBuildFixture(); fixture.IsRunningOnVSTS(); var tfBuild = fixture.CreateTFBuildService(); // When #pragma warning disable 618 var result = tfBuild.IsRunningOnVSTS; #pragma warning restore 618 // Then Assert.True(result); }