One Refactoring Missed

For those of you who are following along with my Applied TDD series there is one refactoring I forgot to do yesterday:

using (mockery.Ordered())

{

Expect.Call(mockTask.GetAllContacts()).Return(mockResults);

mockView.Contacts = mockResults;

}

Notice the bolded code. It used to read mockView.Employees. Halfway through the session I decided to first tackle displaying a list of contacts and not employees.

Comments