Inheritance: IKnownDataClients
コード例 #1
0
 public void Should_not_know_other()
 {
     var knownGraphiteClients = new KnownDataClients();
     Assert.IsFalse(knownGraphiteClients.IsKnown("unknown"));
 }
コード例 #2
0
 public void Should_know_sqlserver()
 {
     var knownGraphiteClients = new KnownDataClients();
     Assert.IsTrue(knownGraphiteClients.IsKnown("sqlserver"));
 }
コード例 #3
0
 public void Should_know_wmi()
 {
     var knownGraphiteClients = new KnownDataClients();
     Assert.IsTrue(knownGraphiteClients.IsKnown("wmi"));
 }
コード例 #4
0
 public void Should_know_oracle()
 {
     var knownGraphiteClients = new KnownDataClients();
     Assert.IsTrue(knownGraphiteClients.IsKnown("oracle"));
 }