public void GetActorsFolder_WithTvShowFolder_ReturnsActorThmbnailsFolder() { // Arrange const string tvShowPath = @"C:\TV Shows\Game of Thrones\"; // Act string folder = ActorMetadata.GetActorsFolder(tvShowPath); // Assert Assert.Equal(@"C:\TV Shows\Game of Thrones\.actors", folder); }
public void GetActorThumbPath_WithDifferentActorNames_ReturnsAppropriateFilePath(string actorName, string expectedFileName) { // Arrange const string tvShowPath = @"C:\TV Shows\Game of Thrones\"; // Act string filePath = ActorMetadata.GetActorThumbPath(tvShowPath, actorName); // Assert string expectedFilePath = Path.Combine(tvShowPath, ".actors", expectedFileName); Assert.Equal(expectedFilePath, filePath); }