public function testJsonSerialize()
{
$expectedJson = '{"whatever":true}';
$this->parameters->expects($this->once())->method('jsonSerialize')->will($this->returnValue($expectedJson));
$this->assertSame($expectedJson, $this->header->jsonSerialize());
}