Skip to content

Instantly share code, notes, and snippets.

@JamesBender
Created October 24, 2013 17:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save JamesBender/7141420 to your computer and use it in GitHub Desktop.
namespace TddStore.UnitTests
{
[TestFixture]
class OrderServiceTests
{
private OrderService _orderService;
private IOrderDataService _orderDataService;
private ICustomerService _customerService;
private IOrderFulfillmentService _orderFulfillmentService;
[TestFixtureSetUp]
public void SetupTestFixture()
{
_orderDataService = Mock.Create<IOrderDataService>();
_customerService = Mock.Create<ICustomerService>();
_orderFulfillmentService = Mock.Create<IOrderFulfillmentService>();
_orderService = new OrderService(_orderDataService, _customerService);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment