Example #1
0
 public function testResponse()
 {
     $attr = array('foo' => 'bar');
     $response = new Response(true, $attr);
     $this->assertTrue($response->isValid());
     $this->assertEquals($response->getAttributes(), $attr);
 }