Ejemplo n.º 1
0
        public void ExceptionTestFor_ServicesNotFound()
        {
            services services = new services()
            {
                ServiceFees = 22,
                ServiceId   = 1,
                ServiceName = "",
                ServiceType = ""
            };
            //Assert
            var ex = Assert.Throws <ServicesNotFoundException>(() => _CustomerSevices.SearchServices(services));

            Assert.Equal("Services Not Found ", ex.Messages);
        }
        public void Test_for_SearchServices()
        {
            services services = new services()
            {
                ServiceFees = 22,
                ServiceId   = 1,
                ServiceName = "",
                ServiceType = ""
            };
            var Result      = _CustomerSevices.SearchServices(services);
            var GetServices = _CustomerSevices.GetServices(services);

            Assert.Equal(GetServices, Result);
        }