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