public function testAddRemoveContactsFromListsActivityFromFile()
 {
     $curlResponse = CurlResponse::create(JsonLoader::getRemoveContactsFromListsActivity(), array('http_code' => 201));
     $this->restClient->expects($this->once())->method('post')->with()->will($this->returnValue($curlResponse));
     $activity = $this->activityService->addRemoveContactsFromListsActivityFromFile('access_token', 'contacts.txt', JsonLoader::getRemoveContactsTextContents(), '7');
     $this->assertInstanceOf('Ctct\\Components\\Activities\\Activity', $activity);
     $this->assertEquals("a07e1i5nqamhcfeuu0h", $activity->id);
     $this->assertEquals("REMOVE_CONTACTS_FROM_LISTS", $activity->type);
     $this->assertEquals(0, $activity->error_count);
     $this->assertEquals(0, $activity->contact_count);
 }