PowerShell/test/xUnit/csharp/test_Binders.cs

20 lines
498 B
C#

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Management.Automation.Language;
using Xunit;
namespace PSTests.Parallel
{
public static class PSEnumerableBinderTests
{
[Fact]
public static void TestIsStaticTypePossiblyEnumerable()
{
// It just needs an arbitrary type
Assert.False(PSEnumerableBinder.IsStaticTypePossiblyEnumerable(42.GetType()));
}
}
}