def METHOD_NAME(self, expected_action, **kwargs):
    template = "pod spec template"
    expected_action["spec"] = base64.b64encode(
        template.encode(UTF_ENCODING)
    ).decode(UTF_ENCODING)
    expected_action["id"] = self.etl_name
    expected_response_text = self.etl_name
    mock_response = Mock()
    mock_response.text = expected_response_text
    self.mock_client.request.return_value = mock_response
    response = self.etl.init_spec(template, **kwargs)
    self.assertEqual(expected_response_text, response)
    self.mock_client.request.assert_called_with(
        HTTP_METHOD_PUT, path=URL_PATH_ETL, json=expected_action
    )