public function testCheck()
{
$this->allowLogin($this->getApp());
$checkResponse = new SchemaCheck();
$check = $this->getMockSchemaManager(['check']);
$check->expects($this->atLeastOnce())->method('check')->will($this->returnValue($checkResponse));
$this->setService('schema', $check);
$this->setRequest(Request::create('/bolt/dbcheck'));
$this->checkTwigForTemplate($this->getApp(), '@bolt/dbcheck/dbcheck.twig');
$this->controller()->check($this->getRequest());
}