public void TestGetNewFullPath() { string path = "../../../testdata/good.jpg"; string folder = Directory.GetParent(path).ToString(); string newExpectedPath = Path.Combine(folder, $"{expected}.jpg"); string result = FileRenamer.GetNewFullPath(path); Assert.Equal(newExpectedPath, result); }