def METHOD_NAME(self):
    with LogCapture() as lc:
        SpikeSourceArrayVertex(
            n_neurons=1, spike_times=[37] * 109,
            label="test", max_atoms_per_core=None, model=None,
            splitter=None, n_colour_bits=None)
        found = False
        for record in lc.records:
            msg = str(record.msg)
            if "too many spikes" in msg:
                self.assertIn("37", msg)
                self.assertIn("109", msg)
                found = True
        self.assertTrue(found)