'Test ActionDispatcher.dispatch with none action.'

def test_dispatch_action_None(self):

    serializer = wsgi.ActionDispatcher()
    serializer.create = (lambda x: (x + '    pants'))
    serializer.default = (lambda x: (x + '    trousers'))
    self.assertEqual('Two    trousers', serializer.dispatch('Two', action=None))
