public void AddSupplierRate_ShouldThrowsException() { var ex = Assert.Throws <ValidationException>(() => _suppliersController.AddSupplierRate(1, null)); Assert.AreEqual("The request can not be null", ex.Message); }
public void AddSupplierRate_ShouldThrowsException() { var ex = Assert.Throws <ValidationException>(() => _suppliersController.AddSupplierRate(1, null)); Assert.AreEqual("The request can not be null", ex.Message); }