예제 #1
0
 /**
  * @depends	testGetSetResultType
  * @return	null
  */
 public function testSetResultTypeNotCaseSensitive()
 {
     $this->assertSame($this->request, $this->request->setResultType('POSITION'));
     $this->assertEquals('position', $this->request->getResultType());
     $this->assertSame($this->request, $this->request->setResultType('BoTh'));
     $this->assertEquals('both', $this->request->getResultType());
     $this->assertSame($this->request, $this->request->setResultType('namE'));
     $this->assertEquals('name', $this->request->getResultType());
 }
 /**
  * @expectedException   Appfuel\Framework\Exception
  * @return null
  */
 public function testSetResultTypeInvalidInt()
 {
     $this->request->setResultType(1234);
 }