function it_matches_ArrayObject_with_invalid_key_value(ArrayObject $array)
{
$array->offsetExists('abc')->willReturn(true);
$array->offsetGet('abc')->willReturn(456);
$this->shouldNotThrow()->duringNegativeMatch('haveKeyWithValue', $array, array('abc', 123));
}