public static void TestIsComObject() { // It just needs an arbitrary type Assert.False(PSTypeExtensions.IsComObject(42.GetType())); }