Exemplo n.º 1
0
        public void AddPropertyError_ErrorIsAddedToErrorCollectionAndHasErrorIsTrue()
        {
            using(var steps = new Steps()) {
                steps.AddError("Test Property", "Test");

                steps.VerifyErrorExists("Test Property", "Test");
                steps.VerifyHasError();
            }
        }