public void GetExitCodeForException_ReturnsExitCode_4_ForNoBuildStepException() { // Arrange var expected = 4; // Act var actual = ProcessExitCodeHelper.GetExitCodeForException(new NoBuildStepException("test")); // Assert Assert.Equal(expected, actual); }
public void GetExitCodeForException_ReturnsExitCode_3_ForUnsupportedVersionException() { // Arrange var expected = 3; // Act var actual = ProcessExitCodeHelper.GetExitCodeForException(new UnsupportedVersionException("test")); // Assert Assert.Equal(expected, actual); }