def METHOD_NAME(self):
    with self.assertRaisesRegex(
            RuntimeError,
            'ERROR in Ring: Synchronous data type not recognized!',
            msg='No RuntimeError for wrong synchronous data type!'):
        convert_data(25e9, self.particle.mass, self.particle.charge,
                     synchronous_data_type='somethingCompletelyDifferent')