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