27 lines
595 B
C#
27 lines
595 B
C#
using Xunit;
|
|
using System;
|
|
using System.Management.Automation;
|
|
|
|
namespace PSTests.Parallel
|
|
{
|
|
public static class SecuritySupportTests
|
|
{
|
|
[Fact]
|
|
public static void TestScanContent()
|
|
{
|
|
Assert.Equal(AmsiUtils.AmsiNativeMethods.AMSI_RESULT.AMSI_RESULT_NOT_DETECTED, AmsiUtils.ScanContent("", ""));
|
|
}
|
|
|
|
[Fact]
|
|
public static void TestCloseSession()
|
|
{
|
|
AmsiUtils.CloseSession();
|
|
}
|
|
|
|
[Fact]
|
|
public static void TestUninitialize()
|
|
{
|
|
AmsiUtils.Uninitialize();
|
|
}
|
|
}
|
|
}
|