public void WillCallDBLayerOnceWhenUpdate() { CustomerBusinessLayer.UpdateCustomer(new Customer(), 1); mockDBLayer.Verify(m => m.UpdateEntity <Customer>(It.IsAny <Customer>(), It.IsAny <int>()), Times.Once); }