private void IdentifyFileType(string testPath, FileTypeEnum expectedType) { testPath = GetPath(testPath); var reader = new ExifReader(); var file = reader.Open(testPath); Assert.True(file.FileType == expectedType); }