Example #1
0
 /**
  * Tests to ensure the default controller caser is set.
  */
 public function testDefaultControllerCaser()
 {
     $callback = $this->application->getControllerCaser();
     $this->assertTrue(is_array($callback));
     $this->assertCount(2, $callback);
     $this->assertEquals('\\LmMvc\\Utility\\ControllerCaser', $callback[0]);
     $this->assertEquals('camelCaseWithFirstUpper', $callback[1]);
 }