private void OnLoad(object sender, EventArgs e) { _ordersAverage = _ordersQueries.GetOrdersAverageAmount(); _view.OrdersAverage = _ordersAverage; _view.CanSave = true; }
public void GetOrdersAverageAmount_ShouldReturnCorrectAmount() { var result = _ordersQueries.GetOrdersAverageAmount(); Assert.That(34.56, Is.EqualTo(result)); }