public function __construct($elementNumber, $subjectKey, $subjectValue, $expectedKey, $expectedValue)
{
parent::__construct(sprintf('Expected subject to have element #%d with key %s and value %s, but got key %s and value %s.', $elementNumber, $expectedKey, $expectedValue, $subjectKey, $subjectValue));
}