Files
PowerShell/test/csharp/test_ExtensionMethods.cs
T

17 lines
381 B
C#
Raw Normal View History

using Xunit;
using System;
using System.Management.Automation;
namespace PSTests
{
[Collection("AssemblyLoadContext")]
public static class PSTypeExtensionsTests
{
[Fact]
public static void TestIsComObject()
{
// It just needs an arbitrary type
Assert.False(PSTypeExtensions.IsComObject(42.GetType()));
}
}
}