public function seeCurrentActionIs($action, $params = array())
    {
        $this->seeCurrentUrlEquals($this->app['url']->action($action, $params, false));
    }
public function seeCurrentActionIs($action, $params = array())
    {
        $this->seeCurrentUrlEquals($this->app['url']->action($action, $params, false));
    }
public function seeCurrentActionIs ( $ action , $ params = array ( ) ) { $ this -> seeCurrentUrlEquals ( $ this -> app [ 'url' ] -> action ( $ action , $ params , false ) ) ; }
Checks that current url matches action

```php
<?php
$I->seeCurrentActionIs('PostsController@index');
?>
```

@param $action
@param array $params
Checks that current url matches action