2018-02-13 18:23:53 +01:00
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// Licensed under the MIT License.
|
2018-12-18 17:11:21 +01:00
|
|
|
|
2015-07-06 21:46:18 +02:00
|
|
|
using System;
|
|
|
|
using System.Management.Automation.Language;
|
2018-12-18 17:11:21 +01:00
|
|
|
using Xunit;
|
2015-07-06 21:46:18 +02:00
|
|
|
|
2018-01-03 21:43:28 +01:00
|
|
|
namespace PSTests.Parallel
|
2015-07-06 21:46:18 +02:00
|
|
|
{
|
|
|
|
public static class PSEnumerableBinderTests
|
|
|
|
{
|
2015-07-21 00:31:03 +02:00
|
|
|
[Fact]
|
2017-11-30 23:44:41 +01:00
|
|
|
public static void TestIsStaticTypePossiblyEnumerable()
|
2015-07-06 21:46:18 +02:00
|
|
|
{
|
2017-11-30 23:44:41 +01:00
|
|
|
// It just needs an arbitrary type
|
|
|
|
Assert.False(PSEnumerableBinder.IsStaticTypePossiblyEnumerable(42.GetType()));
|
2015-07-06 21:46:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|