2015-06-11 23:40:28 +02:00
|
|
|
using Xunit;
|
|
|
|
using System;
|
|
|
|
using System.Management.Automation;
|
|
|
|
|
|
|
|
namespace PSTests
|
|
|
|
{
|
|
|
|
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()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|