def METHOD_NAME(self):
    settings.OVERWRITE_RECEIVE_BUFFER_SIZE = None
    ns = settings.get_receive_buffer_size(resume_on_full_receive_buffer=True, spectrum_mode=True)
    self.assertEqual(ns, settings.SPECTRUM_BUFFER_SIZE)
    ns = settings.get_receive_buffer_size(resume_on_full_receive_buffer=True, spectrum_mode=False)
    self.assertEqual(ns, settings.SNIFF_BUFFER_SIZE)
    ns1 = settings.get_receive_buffer_size(resume_on_full_receive_buffer=False, spectrum_mode=True)
    ns2 = settings.get_receive_buffer_size(resume_on_full_receive_buffer=False, spectrum_mode=False)
    self.assertEqual(len(str(ns1)), len(str(ns2)))