def METHOD_NAME(self, connections, with_replacement,
                       allow_self_connections):
    sim.setup(1.0)
    pop = sim.Population(DESTINATIONS, sim.IF_curr_exp(), label="pop")
    synapse_type = sim.StaticSynapse(weight=5, delay=1)
    projection = sim.Projection(
        pop, pop, sim.FixedNumberPreConnector(
            connections, with_replacement=with_replacement,
            allow_self_connections=allow_self_connections),
        synapse_type=synapse_type)
    sim.run(0)
    self.check_weights(projection, connections, with_replacement,
                       allow_self_connections)
    sim.end()