public void GetShadowCopyPath_ReturnsExpectedPath(string currentShadowCopy, string scriptPath, string expected) { string updatedPath = WebApiApplication.GetShadowCopyPath(currentShadowCopy, scriptPath); string expectedPath = string.Join(";", new[] { currentShadowCopy, scriptPath }.Where(s => !string.IsNullOrEmpty(s))); Assert.Equal(expectedPath, updatedPath); }