Skip to content

Instantly share code, notes, and snippets.

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