Beispiel #1
0
        public void Test_For_Valid_BuyPolicy()
        {
            //Arrange
            var qoute = new Qoute()
            {
                QouteId = "q1",
                UserId  = 12345
            };

            //Action
            var getPolicy      = _service.BuyPolicy(qoute);
            var expectedPolicy = _service.ViewPolicy(getPolicy.PolicyKey);

            //Assert
            Assert.Equal(expectedPolicy, getPolicy);
        }