Horde_ActiveSync_StateTest_Base::_testChangingFilterType PHP Method

_testChangingFilterType() protected method

Test detecting a change in a collection's filtertype.
protected _testChangingFilterType ( )
    protected function _testChangingFilterType()
    {
        $collections = $this->getCollectionHandler();
        $col = array('id' => '519422f1-4c5c-4547-946a-1701c0a8015f', 'windowsize' => 5, 'truncation' => 0, 'mimesupport' => 0, 'mimetruncation' => 8, 'conflict' => 1, 'bodyprefs' => array('wanted' => 2, 2 => array('type' => 2, 'truncationsize' => 200000)), 'synckey' => '{517541cc-b188-478d-9e1a-fa49c0a8015f}96', 'deletesasmoves' => 1, 'filtertype' => 4);
        $collections->addCollection($col);
        $this->assertEquals(false, $collections->checkFilterType($col['id'], $col['filtertype']));
    }