public function testPostMultidimensionalData() { $data = array('key' => 'file', 'file' => array('wibble', 'wubble', 'wobble')); $this->curl->post(self::TEST_URL . '/post_multidimensional.php', $data); $this->assertEquals('key=file&file%5B0%5D=wibble&file%5B1%5D=wubble&file%5B2%5D=wobble', $this->curl->response); }