public static void MapType_Throws(string path) { Assert.That(() => FileTypeHelper.MapType(path), Throws.ArgumentException); }
public static void MapType_ReturnsExpectedResult(string path, FileType expectedResult) { var result = FileTypeHelper.MapType(path); Assert.That(result, Is.EqualTo(expectedResult)); }