public function testAddCreateContactsActivityFromFile()
 {
     $curlResponse = CurlResponse::create(JsonLoader::getAddContactsActivity(), array('http_code' => 201));
     $this->restClient->expects($this->once())->method('post')->with()->will($this->returnValue($curlResponse));
     $activity = $this->activityService->createAddContactsActivityFromFile("access_token", 'contacts.txt', JsonLoader::getContactsTextContents(), '7');
     $this->assertInstanceOf('Ctct\\Components\\Activities\\Activity', $activity);
     $this->assertEquals("a07e1il69qzhdby44ro", $activity->id);
     $this->assertEquals("ADD_CONTACTS", $activity->type);
     $this->assertEquals(0, $activity->error_count);
     $this->assertEquals(1, $activity->contact_count);
 }