public void CopyEnterpriseToLocalTest_EnterpriseFileDoesntExist() { string localFilePath = this.fileOne; string enterpriseFilePath = @"C:\thisfileshouldnotexist"; bool expected = false; bool actual; actual = DefaultScriptHelper.CopyEnterpriseToLocal(localFilePath, enterpriseFilePath); Assert.AreEqual(expected, actual); }
public void CopyEnterpriseToLocalTest_LocalFileExists() { string localFilePath = this.fileOne; string enterpriseFilePath = this.fileTwo; bool expected = true; bool actual; actual = DefaultScriptHelper.CopyEnterpriseToLocal(localFilePath, enterpriseFilePath); Assert.AreEqual(expected, actual); }
public void CopyEnterpriseToLocalTest_EnterpriseFileNotSet() { string localFilePath = this.fileOne; string enterpriseFilePath = ""; bool expected = false; bool actual; actual = DefaultScriptHelper.CopyEnterpriseToLocal(localFilePath, enterpriseFilePath); Assert.AreEqual(expected, actual); }