Subversion Repositories eFlore/Projets.eflore-projets

Rev

Blame | Last modification | View Log | RSS feed

<?php
require_once dirname(__FILE__).'/../ServicePhpUnit.php';

class EnteteHttpTest extends ServicePhpUnit {

        public function testerEnteteHttpParDefaut() {
                $enteteHttp = new EnteteHttp();

                $this->assertEquals('200', $enteteHttp->code);
                $this->assertEquals('utf-8', $enteteHttp->encodage);
                $this->assertEquals('application/json', $enteteHttp->mime);
        }
}
?>