public void GetAddressesTest()
        {
            int    id              = 1;
            string Address1        = "Test";
            string Address2        = "Test";
            string City            = "Test";
            string ZipCode         = "71000";
            bool   isDeleted       = false;
            int    AddressTypeId   = 1;
            int    CreatedByUserId = 1;

            var address = new AddressDto
            {
                AddressId       = id,
                Address1        = Address1,
                Address2        = Address2,
                City            = City,
                ZipCode         = ZipCode,
                AddressTypeId   = AddressTypeId,
                CreatedByUserId = CreatedByUserId,
                IsDeleted       = isDeleted,
                DateCreated     = DateTime.Now,
                DateModified    = DateTime.Now
            };

            var addresses = new List <AddressDto>
            {
                address
            };

            var mockRepo = new Mock <IAddressRepository>();

            mockRepo.Setup(x => x.GetAddreses()).Returns(addresses);
            var addressManipulation = new AddressManipulation(mockRepo.Object);
            var controller          = new AddressController(addressManipulation);
            var result         = controller.GetAddreses();
            var okObjectResult = result as OkObjectResult;

            Assert.NotNull(okObjectResult);
            Assert.IsType <OkObjectResult>(result);
        }