Bytes2you.Validation.UnitTests.Extensions.TypeExtensionsTests.HasPublicConstructors_Should.ThrowArgumentNullException_WhenTypeArgumentIsNull C# (CSharp) Method

ThrowArgumentNullException_WhenTypeArgumentIsNull() private method

private ThrowArgumentNullException_WhenTypeArgumentIsNull ( ) : void
return void
        public void ThrowArgumentNullException_WhenTypeArgumentIsNull()
        {
            // Arrange.
            Type type = null;

            // Act & Assert.
            Ensure.ArgumentNullExceptionIsThrown(() =>
            {
                type.HasPublicConstructors();
            }, "@type");
        }