def METHOD_NAME(self, client, server_addr, server_port):
    print(f'Testing SRP server: {server_addr}:{server_port}')
    # check if the SRP client can register to the SRP server
    client.srp_client_start(server_addr, server_port)
    client.srp_client_set_host_name('host1')
    client.srp_client_set_host_address(client.get_rloc())
    client.srp_client_add_service('ins1', '_ipp._tcp', 11111)
    self.simulator.go(3)
    self.assertEqual(client.srp_client_get_host_state(), 'Registered')
    # check if the SRP client can remove from the SRP server
    client.srp_client_remove_host()
    self.simulator.go(3)
    self.assertEqual(client.srp_client_get_host_state(), 'Removed')
    # stop the SRP client for the next round
    client.srp_client_stop()
    self.simulator.go(3)