private void AssertXmlFileCopierCommand(string sourceFilePath, string targetFilePath, XmlLauncherCommand command) { var xpathCommand = (XmlFileCopierCommand)command; Assert.That(xpathCommand.SourceFilePath, Is.EqualTo(sourceFilePath)); Assert.That(xpathCommand.TargetFilePath, Is.EqualTo(targetFilePath)); }
private void AssertXmlXPathReplacerCommand(string filePath, string xpath, string value, XmlLauncherCommand command) { var xpathCommand = (XmlXPathReplacerCommand)command; Assert.That(xpathCommand.XPath, Is.EqualTo(xpath)); Assert.That(xpathCommand.Value, Is.EqualTo(value)); Assert.That(xpathCommand.FilePath, Is.EqualTo(filePath)); }