示例#1
0
 public function testGETResponseContainsCorrectContentType()
 {
     $response = $this->c()->GET();
     $this->assertEquals(ContentType::gif(), $response->contentType);
 }
 private static function directions()
 {
     return array(array(ContentType::jpeg(), \Barberry\ContentType::gif()), array(ContentType::jpeg(), \Barberry\ContentType::png()), array(ContentType::jpeg(), \Barberry\ContentType::jpeg()), array(ContentType::gif(), \Barberry\ContentType::jpeg()), array(ContentType::gif(), \Barberry\ContentType::png()), array(ContentType::gif(), \Barberry\ContentType::gif()), array(ContentType::png(), \Barberry\ContentType::jpeg()), array(ContentType::png(), \Barberry\ContentType::gif()), array(ContentType::png(), \Barberry\ContentType::png()));
 }