def METHOD_NAME(self):
    super().METHOD_NAME()
    self.ssl_folder = mkdtemp()
    self.container = self._start_container(self.ssl_folder)
    # Ensure that local connection have been created
    outpost_connection_discovery()  # pylint: disable=no-value-for-parameter
    self.provider: ProxyProvider = ProxyProvider.objects.create(
        name="test",
        internal_host="http://localhost",
        external_host="http://localhost",
        authorization_flow=create_test_flow(),
    )
    with (
        open(f"{self.ssl_folder}/client/cert.pem", encoding="utf8") as cert,
        open(f"{self.ssl_folder}/client/key.pem", encoding="utf8") as key,
    ):
        authentication_kp = CertificateKeyPair.objects.create(
            name="docker-authentication",
            certificate_data=cert.read(),
            key_data=key.read(),
        )
    with open(f"{self.ssl_folder}/client/ca.pem", encoding="utf8") as authority:
        verification_kp = CertificateKeyPair.objects.create(
            name="docker-verification",
            certificate_data=authority.read(),
        )
    self.service_connection = DockerServiceConnection.objects.create(
        url="https://localhost:2376",
        tls_verification=verification_kp,
        tls_authentication=authentication_kp,
    )
    self.outpost: Outpost = Outpost.objects.create(
        name="test",
        type=OutpostType.PROXY,
        service_connection=self.service_connection,
        _config=default_outpost_config(self.live_server_url),
    )
    self.outpost.providers.add(self.provider)
    self.outpost.save()