def METHOD_NAME(self, number_of_threads: int) -> None:
    pre_spike_times = np.array([2., 4., 7., 8., 12., 13., 19., 23., 24., 28., 29., 30., 33., 34.,
                                35., 36., 38., 40., 42., 46., 51., 53., 54., 55., 56., 59., 63., 64.,
                                65., 66., 68., 72., 73.])
    post_spike_times = np.array([4., 5., 6., 7., 10., 11., 12., 16., 17., 18., 19., 20., 22., 23.,
                                 25., 27., 29., 30., 31., 32., 34., 36., 37., 38., 39., 42., 44., 46.,
                                 48., 49., 50., 54., 56., 57., 59., 60., 61., 62., 67., 74.])
    nest.ResetKernel()
    nest.resolution = 0.1
    nest.local_num_threads = number_of_threads
    wr = nest.Create("weight_recorder")
    nest.CopyModel(self.neuron_synapse_synapse_model, "stdp_nestml_rec",
                   {"weight_recorder": wr[0], "w": 1., "d": 1., "receptor_type": 0})
    # Spike generators
    pre_sg = nest.Create("spike_generator", 2,
                         params={"spike_times": pre_spike_times})
    post_sg = nest.Create("spike_generator", 2,
                          params={"spike_times": post_spike_times,
                                  "allow_offgrid_times": True})
    pre_neuron = nest.Create(self.neuron_synapse_neuron_model, 2)
    post_neuron = nest.Create(self.neuron_synapse_neuron_model, 2)
    sr_pre = nest.Create("spike_recorder")
    sr_post = nest.Create("spike_recorder")
    mm = nest.Create("multimeter", params={"record_from": ["V_m"]})
    nest.Connect(pre_sg, pre_neuron, "one_to_one", syn_spec={"delay": 1.})
    nest.Connect(post_sg, post_neuron, "one_to_one", syn_spec={"delay": 1., "weight": 9999.})
    nest.Connect(pre_neuron, post_neuron, "all_to_all", syn_spec={"synapse_model": "stdp_nestml_rec"})
    nest.Connect(mm, post_neuron)
    nest.Connect(pre_neuron, sr_pre)
    nest.Connect(post_neuron, sr_post)
    nest.Simulate(100.)
    connections = nest.GetConnections(synapse_model="stdp_nestml_rec")
    gid_post = np.unique(np.array(connections.get("target")))[0]
    events = mm.get("events")
    senders = events["senders"]
    V_m = events["V_m"]
    V_m_sender = V_m[senders == gid_post]
    np.testing.assert_almost_equal(V_m_sender[-1], -58.64615287)