':py:obj:`Connection.set_shutdown` sets the state of the SSL connection shutdown
process.'

def test_set_shutdown(self):

    connection = Connection(Context(TLSv1_METHOD), socket())
    connection.set_shutdown(RECEIVED_SHUTDOWN)
    self.assertEquals(connection.get_shutdown(), RECEIVED_SHUTDOWN)
