public void TestEquality()
        {
            var productOne = new TestProduct();
            productOne.Id = Guid.NewGuid();
            productOne.Name = "One";

            var productTwo = new TestProduct();
            productTwo.Id = Guid.NewGuid();
            productOne.Name = "Two";
            
            var productThree = productOne;

            var productFour = new TestProduct();
            productFour.Id = productTwo.Id;
            productFour.Name = "Four";

            TestProduct productNull = null; 

            //ref
            Assert.IsTrue(productOne.Equals(productThree));
            //id
            Assert.IsTrue(productTwo.Equals(productFour));

            Assert.IsFalse(productOne.Equals(productTwo));
            Assert.IsFalse(productTwo.Equals(productThree));
            
            Assert.IsFalse(productOne.Equals(productNull));
            
            Assert.IsTrue(productTwo == productFour);
            Assert.IsTrue(productOne != productTwo);
            
        }
 public void CanConvertTestProductToSimpleDb()
 {
     ISimpleDbMapper<TestProduct> mapper = new SimpleDbMapper<TestProduct>(); 
     var p = new TestProduct();
     p.AvailableFrom = DateTime.Now;
     p.Discontinued = false;
     p.Id = Guid.NewGuid();
     p.Name = "Sample Product";
     p.Price = 4.5m;
     p.Quantity = 25;
     p.ItemStatus = ItemStatus.Draft;
     var theList = new List<string>();
     theList.Add("blue");
     theList.Add("green");
     theList.Add("red");
     p.Tags = theList;
     var convertedAttributes = mapper.MapEntityToAttributes(p);
     
 }