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