public function testConstructorWithSimpleTypes() {
$response = new JsonResponse('foo');
$this
->assertSame('"foo"', $response
->getContent());
$response = new JsonResponse(0);
$this
->assertSame('0', $response
->getContent());
$response = new JsonResponse(0.1);
$this
->assertSame('0.1', $response
->getContent());
$response = new JsonResponse(true);
$this
->assertSame('true', $response
->getContent());
}