2015-06-11 14:40:28 -07:00
|
|
|
using Xunit;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Management.Automation;
|
|
|
|
|
|
|
|
|
|
namespace PSTests
|
|
|
|
|
{
|
|
|
|
|
public static class PSTypeExtensionsTests
|
|
|
|
|
{
|
2015-07-20 15:31:03 -07:00
|
|
|
[Fact]
|
2015-06-11 14:40:28 -07:00
|
|
|
public static void TestIsComObject()
|
|
|
|
|
{
|
|
|
|
|
// It just needs an arbitrary type
|
|
|
|
|
Assert.False(PSTypeExtensions.IsComObject(42.GetType()));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|