Amanda_Client_Sample_Application.Tests.Should_Verify_Simple_Params C# (CSharp) Метод

Should_Verify_Simple_Params() приватный Метод

private Should_Verify_Simple_Params ( ) : void
Результат void
        public static void Should_Verify_Simple_Params()
        {
            dynamic client = new AmandaClient("http://localhost:15534/api");

            Action doNothingForFactor = () => client.DoNothingFor(1, 2.5);

            doNothingForFactor.ShouldThrow<ArgumentException>();
        }