public static void GetInterfaceTypes___Should_throw_ArgumentNullException___When_parameter_type_is_null() { // Arrange, Act var actual = Record.Exception(() => AssemblyExtensions.GetInterfaceTypes(null)); // Assert actual.Should().BeOfType <ArgumentNullException>(); actual.Message.Should().Contain("assembly"); }