AssetManagerTest\ModuleTest::testDispatchListenerIgnoresOtherResponseCodes PHP Method

testDispatchListenerIgnoresOtherResponseCodes() public method

Verifies that dispatch listener does nothing on other repsponse codes
    public function testDispatchListenerIgnoresOtherResponseCodes()
    {
        $event = new MvcEvent();
        $response = new Response();
        $module = new Module();
        $response->setStatusCode(500);
        $event->setResponse($response);
        $response = $module->onDispatch($event);
        $this->assertNull($response);
    }