Beispiel #1
0
        public void Test_For_Valid_ApplyQoute()
        {
            //Arrange Qoute ApplyQoute(Residance residance,Property property);
            var residance = new Residance()
            {
                QuoteId      = "Q1",
                AddressLine1 = "Bangalore",
                City         = "Bangalore",
                Zip          = 675201
            };
            var property = new Property()
            {
                PropertyId = 12345,
                QouteId    = "q1",
                UserId     = 1234
            };

            //Action
            var getQoute = _service.ApplyQoute(residance, property);

            //Assert
            Assert.NotNull(getQoute);
        }