public void GetController() { CartController c = new CartController(); var r = c.Get(0); Assert.IsNotNull(r); }
public void PutController() { CartController c = new CartController(); var r = c.Put(1, new Product() { id = 1, name = "prueba1" }); Assert.IsNotNull(r); }
public void DeleteController() { CartController c = new CartController(); var r = c.Delete(1); Assert.IsNotNull(r); }