예제 #1
0
 /**
  * @depends	testGetSetRequestType
  * @return	null
  */
 public function testSetRequestTypeIsCaseInsenstive()
 {
     $this->assertSame($this->request, $this->request->setRequestType('MULTI-QUERY'), 'exposes fluent interface');
     $this->assertEquals('multi-query', $this->request->getRequestType());
     $this->assertSame($this->request, $this->request->setRequestType('PREPARED-stmt'), 'exposes fluent interface');
     $this->assertEquals('prepared-stmt', $this->request->getRequestType());
     $this->assertSame($this->request, $this->request->setRequestType('QuErY'), 'exposes fluent interface');
     $this->assertEquals('query', $this->request->getRequestType());
 }