Horde_ActiveSync_StateTest_Base::_testEmptyResponse PHP Method

_testEmptyResponse() protected method

protected _testEmptyResponse ( )
    protected function _testEmptyResponse()
    {
        $cache = new Horde_ActiveSync_SyncCache(self::$state, 'dev123', 'mike', self::$logger->getLogger());
        // Reset these from other tests.
        $cache->hbinterval = 100;
        $cache->save();
        $collections = $this->getCollectionHandler();
        // False since we don't have hangingSync.
        $this->assertEquals(false, $collections->canSendEmptyResponse());
        $collections->hangingSync = true;
        $this->assertEquals(true, $collections->canSendEmptyResponse());
        $collections->importedChanges = true;
        $this->assertEquals(false, $collections->canSendEmptyResponse());
    }