public void WeatherForecast_ServerCloseServiceGoodExample() { WeatherForecast_Server server = new WeatherForecast_Server(); server.Open(); Assert.DoesNotThrow(() => server.Close()); }
public void WeatherForecast_ServerConstructorGoodExample() { WeatherForecast_Server server = new WeatherForecast_Server(); Assert.AreEqual(server._serviceHost.State, CommunicationState.Created); }