예제 #1
0
        public static void GetPublicInterfaceTypes___Should_throw_ArgumentNullException___When_parameter_type_is_null()
        {
            // Arrange, Act
            var actual = Record.Exception(() => AssemblyExtensions.GetPublicInterfaceTypes(null));

            // Assert
            actual.Should().BeOfType <ArgumentNullException>();
            actual.Message.Should().Contain("assembly");
        }