client = $this->createClient(); } public function createApplication() { return require __DIR__ . '/../../../../../Alchemy/Phrasea/Application/Prod.php'; } public function testRootPost() { $route = '/language/'; $this->client->request("GET", $route); $this->assertTrue($this->client->getResponse()->isOk()); $this->assertEquals("application/json", $this->client->getResponse()->headers->get("content-type")); $pageContent = json_decode($this->client->getResponse()->getContent()); $this->assertTrue(is_object($pageContent)); } }