public void Typical(IsAllowableEnumerable sut) { sut.IsAllowed(typeof(IEnumerable <string>)) .Should().BeTrue(); sut.ValidateTypeCtor.Received(1).Validate(typeof(string), null); }
public void NotEnumerable(IsAllowableEnumerable sut) { sut.IsAllowed(typeof(string)) .Should().BeFalse(); }