/** * If tags not set they should not be used for push and pull. Infusionsoft * should not be queued */ public function testConfigTagsEmpty() { $options = array('appname' => $this->testConfig['appname'], 'apikey' => $this->testConfig['apikey'], 'fields' => $this->testConfig['fields']); $i = new Sync($options); $isdk = $this->getMockedIsdk(); $isdk->expects($this->never())->method('dsQuery'); $isdk->expects($this->once())->method('loadCon')->will($this->returnValue(array())); $i->setIsdk($isdk); $i->loadContact(1); $expected = $i->getConfigTags(); $this->assertEquals($expected, array()); }