public HomeController(IWifiSpotRepository wifiSpotRepository) { this.WifiSpotRepository = wifiSpotRepository; }
public WifiSpotController(IWifiSpotRepository repository) { this.WifiSpotRepository = repository; }
public void TestInitialize() { this.WifiSpotRepository = Substitute.For <IWifiSpotRepository>(); }