public void Widget_Pin_To_HomePageTest()
        {
            //https://msdn.microsoft.com/en-gb/data/dn314429.aspx

            var mockSet  = new Mock <DbSet <tblHomePage_Widget> >();
            var mockSet2 = new Mock <DbSet <tblDashboard_Widget> >();

            _mockContext.Setup(m => m.tblDashboard_Widget).Returns(mockSet2.Object);
            _mockContext.Setup(m => m.tblHomePage_Widget).Returns(mockSet.Object);


            Assert.IsTrue(_service.Widget_Pin_To_HomePage(21, "sdhfksjdhfkjsdhfkshd"));
            mockSet.Verify(m => m.Add(It.IsAny <tblHomePage_Widget>()), Times.Once());
            _mockContext.Verify(m => m.SaveChanges(), Times.Once());
        }
        public void Widget_Pin_To_HomePageTest(
            [PexAssumeUnderTest] HomePageWidgetRepository target,
            HomePage_WidgetDTO home_page_widget_dto
            )
        {
            home_page_widget_dto = new HomePage_WidgetDTO();

            // tbl_home_page_widget.Widget_Id = 21;
            home_page_widget_dto.User_Id       = "65465sd4fsdfsdfsd";
            home_page_widget_dto.widget_x      = 0;
            home_page_widget_dto.widget_y      = 1;
            home_page_widget_dto.widget_width  = 10;
            home_page_widget_dto.widget_height = 20;

            target.Widget_Pin_To_HomePage(home_page_widget_dto);
            // TODO: add assertions to method HomePageWidgetRepositoryTest.Widget_Pin_To_HomePageTest(HomePageWidgetRepository, HomePage_WidgetDTO)
        }