Exemple #1
0
        public void Search()
        {
            var logic = new ServiceLogic(new ServiceRepository());

            try
            {
                var services = logic.SearchDescription("", 10, 1);
                Assert.Fail("You should get an exception!");
            }
            catch (Exception ex)
            {
                Assert.AreEqual(ex.Message, "The filter is empty!");
            }
        }