示例#1
0
            public void Should_Throw_If_Encounter_Unexpected_Output()
            {
                // Given
                var fixture = new NuGetSetProxyFixture();

                fixture.GivenUnexpectedOutput();

                // When
                var result = Record.Exception(() => fixture.Run());

                // Then
                Assert.IsCakeException(result, "Set command returned unexpected response.");
            }