public void CanRetrieveNumbersInOrder() { var example = new Services.ExampleService(new ExampleRepositoryMock()); CollectionAssert.AreEqual(example.GetNumbers().ToList(), new List <int>() { 1, 2, 3 }); }
public void NubmersAddUp() { var example = new Services.ExampleService(new ExampleRepositoryMock()); Assert.AreEqual(example.AddNumbers(new List <int>() { 1, 1 }), 2); }