function testExtractMembersFromMailchimpExportFile()
 {
     $file_path = __DIR__ . '/../../sample_mailchimp_export.txt';
     $file_path = realpath($file_path);
     $list_id = 'MailchimpListsTestListA';
     $members = CRM_CiviMailchimp_Utils::extractMembersFromMailchimpExportFile($file_path, $list_id);
     $this->assertCount(3, $members);
     $this->assertEquals('*****@*****.**', $members[0]['email']);
     $this->assertEquals($list_id, $members[0]['list_id']);
     $this->assertEquals('Civi1', $members[0]['merges']['FNAME']);
     $this->assertEquals('Mailchimp1', $members[0]['merges']['LNAME']);
     $this->assertEquals('*****@*****.**', $members[1]['email']);
     $this->assertEquals($list_id, $members[1]['list_id']);
     $this->assertEquals('Civi2', $members[1]['merges']['FNAME']);
     $this->assertEquals('Mailchimp2', $members[1]['merges']['LNAME']);
     $this->assertEquals('*****@*****.**', $members[2]['email']);
     $this->assertEquals($list_id, $members[2]['list_id']);
     $this->assertEquals('Civi3', $members[2]['merges']['FNAME']);
     $this->assertEquals('Mailchimp3', $members[2]['merges']['LNAME']);
 }