BudgetAnalyser.Engine.UnitTest.Matching.MatchingRuleTest.OrMatchShouldMatchOnReferences C# (CSharp) Метод

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

private OrMatchShouldMatchOnReferences ( ) : void
Результат void
        public void OrMatchShouldMatchOnReferences()
        {
            MatchingRule subject = Arrange();
            subject.And = false;
            subject.Reference1 = "Testing 1";
            subject.Reference2 = "Testing 2";
            subject.Reference3 = "Testing 3";

            bool success = subject.Match(new Transaction { Reference1 = "Testing 1", Reference3 = "Testing xxx" });
            Assert.IsTrue(success);
        }