示例#1
0
        public void HasAnyParameters_WhenEmailGiven_True()
        {
            var query = new SearchCustomers
            {
                Email = "*****@*****.**",
            };

            Assert.True(query.HasAnyParameters());
        }
示例#2
0
        public void HasAnyParameters_WhenNameGiven_True()
        {
            var query = new SearchCustomers
            {
                Name = "value"
            };

            Assert.True(query.HasAnyParameters());
        }
示例#3
0
        public void HasAnyParameters_False()
        {
            var query = new SearchCustomers();

            Assert.False(query.HasAnyParameters());
        }