Beispiel #1
0
 public void VerifyIndirectReferencingVariable()
 {
     using (var services = new ServicesSupport())
     {
         var sut = services.Get <ContainsStaticReferenceSpecification>();
         Assert.True(sut.IsSatisfiedBy(typeof(IndirectReferencingVariable).GetTypeInfo()));
     }
 }
Beispiel #2
0
 public void VerifyFixed()
 {
     using (var services = new ServicesSupport())
     {
         var sut = services.Get <ContainsStaticReferenceSpecification>();
         Assert.False(sut.IsSatisfiedBy(typeof(Fixed).GetTypeInfo()));
     }
 }