public function theJsonNodeShouldBeEqualToTheNumber($node, $number)
{
$json = $this->getJson();
$actual = $this->inspector->evaluate($json, $node);
if ($actual !== (double) $number && $actual !== (int) $number) {
throw new \Exception(sprintf('The node value is `%s`', json_encode($actual)));
}
}