Example #1
0
        public void CorrectParamsAreIncluded()
        {
            var condition  = new MatchAllCondition();
            var definition = condition.Definition;

            Assert.That(definition, Is.EqualTo("matchall"));
        }
        public void CorrectParamsAreIncluded()
        {
            var condition = new MatchAllCondition();
            var definition = condition.Definition;

            Assert.That(definition, Is.EqualTo("matchall"));
        }
Example #3
0
        protected override Task Context()
        {
            _logger = A.Fake <IOSPSuiteLogger>();
            sut     = new DescriptorConditionMapper(_logger);

            _inContainer          = new InContainerCondition("CONT");
            _notInContainer       = new NotInContainerCondition("NOT_CONT");
            _matchAllCondition    = new MatchAllCondition();
            _notMatchAllCondition = new NotMatchTagCondition("NOT_MATCH");
            _notMatchCondition    = new MatchTagCondition("MATCH");

            return(_completed);
        }
Example #4
0
        public void MatchAll()
        {
            var condition = new MatchAllCondition <TEntity>(_queryContainerDescriptor);

            Must(condition);
        }
Example #5
0
 public bool Equals(MatchAllCondition other)
 {
     return(other != null);
 }