public function testPostLangAction() { $content = ['code' => 'ph', 'name' => 'PHPUnit Name Field - POST', 'rtl' => false]; $this->client->request('POST', '/api/v1/langs?apikey=' . $this->apikey, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($content)); $this->assertStatusCode(201, $this->client); }