private void AddSample()
        {
            MemorySQLConnection <Category> connection = new MemorySQLConnection <Category>();
            var categoria = new CategoriesDAO(connection);

            categoria.Insert(new Category()
            {
                Id = 10
            });
            categoria.Insert(new Category()
            {
                Id = 11
            });
        }
        public void InsertTest()
        {
            MemorySQLConnection <Category> connection = new MemorySQLConnection <Category>();
            var categoria = new CategoriesDAO(connection);
            var cat       = new Category()
            {
                Id          = 2,
                Description = "categoria com id 2"
            };
            var result = categoria.Insert(cat);


            Assert.AreEqual(3, categoria.Get().Count());
            Assert.IsTrue(categoria.Get().Any(x => x.Id == 2));
            Assert.AreEqual(cat, categoria.Get().First(x => x.Id == 2));
            Assert.AreEqual(cat, result);
        }