public static void GivenParameters(this CmdletTestContext context, out Dictionary <string, string> parameters) { var dictionary = new Dictionary <string, string> { { "SwitchType", "Internal" } }; parameters = dictionary; }
public static void ThenAllSwitchesShouldBeInternal(this CmdletTestContext context, ICollection <PSObject> result) { result.Should().NotContainNulls(); result.Select(r => ((VMSwitch)r.BaseObject).SwitchType).Should().NotContain(new [] { "Private", "External" }); }
public static void ThenCommandResultShouldNotBeNull(this CmdletTestContext context, Collection <PSObject> result) { result.Should().NotBeNull(); }
public static void ThenCommandResultCountGreaterThanOne(this CmdletTestContext context, Collection <PSObject> result) { result.Count.Should().BeGreaterThan(1); }