public void Create_RecognizedUri() { ReportingServices.Create(new ReportingServicesConfiguration { BusUri = Fake.Uri }); }
public void Create_NullConfiguration() { Assert.Throws <ArgumentNullException>(() => { ReportingServices.Create(null); }); }
public void Create_UnrecognizedUri() { Assert.Throws <ArgumentException>(() => { ReportingServices.Create(new ReportingServicesConfiguration { BusUri = new Uri("unrecognized://example.com") }); }); }