Amanda_Client_Sample_Application.Tests.Should_Verify_Simple_Params C# (CSharp) Méthode

Should_Verify_Simple_Params() private méthode

private Should_Verify_Simple_Params ( ) : void
Résultat 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>();
        }