Example #1
0
 public void Setup()
 {
     _glossaryRepo = Substitute.For<IGlossaryRepository>();
     _controller = new HomeController(_glossaryRepo);
 }
Example #2
0
 public HomeController(IGlossaryRepository glossaryRepository)
 {
     _glossaryRepository = glossaryRepository;
 }