public void WriteImageTest() { var cmd = new WriteWimImage { WimPath = "Test.wim", TargetPath = @"C:\Test\" }; var result = cmd.Invoke().GetEnumerator(); Assert.IsTrue(result.MoveNext()); }
public void ShouldCreateCmdLet() { var cmd = new WriteWimImage(); Assert.IsInstanceOf <Cmdlet>(cmd); }