Example #1
0
 /**
  * Tests that the cleanMethodName method throws an exception with a method name with more than one slash.
  *
  * @expectedException \LmMvc\Exception\MalformedUriException
  */
 public function testCleanMethodException()
 {
     $moreThanOneSlash = 'method_name/uh-oh/';
     $this->application->cleanMethodName($moreThanOneSlash);
 }