public function testStaticCreateEmptyJsonObject() { $response = JsonResponse::create(); $this ->assertInstanceOf('Symfony\\Component\\HttpFoundation\\JsonResponse', $response); $this ->assertSame('{}', $response ->getContent()); }