Beispiel #1
0
 public apiToDoController(IToDoAdapter a)
 {
     _adapter = a;
 }
 public void OnTestInitialize()
 {
     repo    = new InMemoryToDoRepository();
     adapter = new ToDoAdapter();
     sut     = new ToDoService(repo, adapter);
 }
Beispiel #3
0
 public apiToDoController()
 {
     _adapter = new ToDoAdapter();
 }
Beispiel #4
0
 public ToDoService(IToDoRepository repo, IToDoAdapter adapter)
 {
     this.repo    = repo;
     this.adapter = adapter;
 }