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