public void GetLatLonForCity_GetTheLatLonForASpecificCityCallsGeoInterface_Test() { MockIGeoData testMock = new MockIGeoData(); target.GeoDataInterface = testMock; Log testLog = target.GetLatLonForCity(); Assert.AreEqual(1, testMock.GeoDataInterfaceCalledCount); }
public void GetLatLonForCity_GetTheLatLonForASpecificCityCallsGeoInterface_Test() { MockIGeoData testMock = new MockIGeoData(); target.GeoDataInterface = testMock; Log testLog = target.GetLatLonForCity(); Assert.AreEqual(1, testMock.GeoDataInterfaceCalledCount); }