public function testOnDispatchWithoutIdentityAndUserLoginRoute()
{
$routeMatch = new RouteMatch(array('module' => 'Config', 'controller' => 'UserController', 'action' => 'login'));
$routeMatch->setMatchedRouteName('config/user/login');
$this->object->getEvent()->setRouteMatch($routeMatch);
$this->assertInstanceOf('Zend\\View\\Model\\ViewModel', $this->object->dispatch(Registry::get('Application')->getRequest(), null));
}