2015-06-11 23:40:28 +02:00
|
|
|
using Xunit;
|
|
|
|
using System;
|
|
|
|
using System.Management.Automation;
|
|
|
|
|
|
|
|
namespace PSTests
|
|
|
|
{
|
2016-03-18 02:15:39 +01:00
|
|
|
[Collection("AssemblyLoadContext")]
|
2015-06-11 23:40:28 +02:00
|
|
|
public static class PSTypeExtensionsTests
|
|
|
|
{
|
2015-07-21 00:31:03 +02:00
|
|
|
[Fact]
|
2015-06-11 23:40:28 +02:00
|
|
|
public static void TestIsComObject()
|
|
|
|
{
|
|
|
|
// It just needs an arbitrary type
|
|
|
|
Assert.False(PSTypeExtensions.IsComObject(42.GetType()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|