Exemplo n.º 1
0
 public void NotLazy(IsAllowableLazy sut)
 {
     sut.IsAllowed(typeof(string))
     .Should().BeFalse();
 }
Exemplo n.º 2
0
 public void Typical(IsAllowableLazy sut)
 {
     sut.IsAllowed(typeof(Lazy <string>))
     .Should().BeTrue();
     sut.ValidateTypeCtor.Received(1).Validate(typeof(string), Arg.Any <HashSet <string> >());
 }