def METHOD_NAME(self):
    """
    Ensure that loop.create_connection is called with ssl=False
    if no ssl argument is passed to the __init__ method of
    ApplicationRunner and the websocket URL starts with "ws:".
    """
    with replace_loop(Mock()) as loop:
        with patch.object(asyncio, 'get_event_loop', return_value=loop):
            loop.run_until_complete = Mock(return_value=(Mock(), Mock()))
            runner = ApplicationRunner('ws://127.0.0.1:8080/ws', 'realm')
            runner.run('_unused_')
            self.assertIs(False, loop.create_connection.call_args[1]['ssl'])