public void Should_Return_Non_Null_Reference() { // Given var fixture = new GitLabCIFixture(); var gitLabCI = fixture.CreateGitLabCIService(); // When var result = gitLabCI.Environment; // Then Assert.NotNull(result); }
public void Should_Return_False_If_Not_Running_On_GitLabCI() { // Given var fixture = new GitLabCIFixture(); var gitLabCI = fixture.CreateGitLabCIService(); // When var result = gitLabCI.IsRunningOnGitLabCI; // Then Assert.False(result); }