public void Host_not_started_exception_thrown_when_getting_uri() { var fakeService = new FakeService(); Assert.Throws <Exception>(delegate { var _ = fakeService.Uri; }, "Service not started"); fakeService.Stop(); }
public void Host_not_started_exception_thrown_when_getting_uri() { var fakeService = new FakeService(); Assert.Throws<Exception>(delegate { var _ = fakeService.Uri; }, "Service not started"); fakeService.Stop(); }