def METHOD_NAME(self):
    """Test that we can respond to disconnect requests"""
    msg = message.Message()
    msg.header.command_code = base.BaseApplicationCommands.DISCONNECT_PEER
    msg.header.request = True
    # Encode request message into buffer
    req_buf = bytearray(msg.length)
    msg.encode(req_buf, 0)
    msg = message.Message()
    msg.header.command_code = base.BaseApplicationCommands.DISCONNECT_PEER
    msg.header.request = False
    msg.append_avp(avp.AVP('Result-Code', avp.ResultCode.DIAMETER_SUCCESS))
    msg.append_avp(avp.AVP('Origin-Host', self._server.host))
    msg.append_avp(avp.AVP('Origin-Realm', self._server.realm))
    msg.append_avp(avp.AVP('Origin-State-Id', self._server.state_id))
    # Encode response into buffer
    resp_buf = bytearray(msg.length)
    msg.encode(resp_buf, 0)
    self._check_reply(req_buf, resp_buf)