예제 #1
0
 public function getSetAudienceTargeting_shouldReturnCorrectValues()
 {
     $mockAudienceTargeting = $this->buildMock('\\PaperG\\FirehoundBlob\\CampaignData\\Targeting\\AudienceTargeting');
     $mockGeotargeting = $this->buildMockGeotargeting();
     $targeting = new Targeting($mockGeotargeting);
     $null = $targeting->getAudienceTargeting();
     $this->assertNull($null);
     $targeting->setAudienceTargeting($mockAudienceTargeting);
     $this->assertEquals($mockAudienceTargeting, $targeting->getAudienceTargeting());
 }