public void PlaceOrder_ShouldInsertAnOrder_AndReturnTrue(string country, double expectedVat) { // Arrange. var customer = CustomerDataHelper.Add(GetCustomer(country)); var order = GetOrderDto(); var orderService = _container.Resolve <IOrderService>(); // Act. var result = orderService.PlaceOrder(order, customer.CustomerId); var insertedOrder = OrderDataHelper.GetOrder(order.OrderId); // Assert. Assert.IsTrue(result); Assert.IsNotNull(insertedOrder); Assert.AreEqual(customer.CustomerId, insertedOrder.CustomerId); Assert.AreEqual(order.OrderId, insertedOrder.OrderId); Assert.AreEqual(order.Amount, insertedOrder.Amount); Assert.AreEqual(expectedVat, insertedOrder.VAT); }