How to test Magento POST controller action - using (or not) EcomDev PHPUnit module
===

Is there way to test Magento POST controllers actions? E.g. customer login:

    Mage_Customer_AccountController::loginPostAction()

I'm using EcomDev_PHPUnit module for test. It works great with basic actions, but I can't invoke POST actions.

    $this->getRequest()->setMethod('POST');
    // ivokes loginAction instead loginPostAction
    $this->dispatch('customer/account/login');
    // fails also
    $this->dispatch('customer/account/loginPost');
    // but this assert pass
    $this->assertEquals('POST', $_SERVER['REQUEST_METHOD']);

I would like to make tests more or less like

    // ... some setup
    $this->getRequest()->setMethod('POST');
    $this->dispatch('customer/account/login');
    // since login uses singleton, then...
    $session = Mage::getSingleton('customer/session');
    $this->assertTrue($session->isLoggedIn());