Metabor\KeyValue\CriteriaTest::testChecksIsFalseIfAtLeastOneKeyValuesIsDifferent2 PHP Method

testChecksIsFalseIfAtLeastOneKeyValuesIsDifferent2() public method

    public function testChecksIsFalseIfAtLeastOneKeyValuesIsDifferent2()
    {
        $array = array();
        $array['Foo'] = 'bar';
        $array['bar'] = 'baz';
        $array['differentType'] = '0';
        $criteria = new Criteria($array);
        $array = array();
        $array['Foo'] = 'bar';
        $array['bar'] = 'baz';
        $array['differentType'] = 0;
        $keyvalue = new \ArrayIterator($array);
        $result = $criteria->check($keyvalue);
        $this->assertFalse($result);
    }