public void MakeRelative_Valid_Success(string filePath, string directoryPath) { // Act var relativePath = LibraryCatalog.MakeRelative(filePath, directoryPath); // Assert Assert.Equal(@"2006", relativePath); }
public void MakeRelative_Invalid_Exception(string filePath, string directoryPath) { Assert.Throws <ArgumentException>( () => LibraryCatalog.MakeRelative(filePath, directoryPath)); }