def METHOD_NAME(self):
    bootstrap = Bootstrap(ztps_default_config=True)
    config = random_string()
    url = "http://{}/{}".format(bootstrap.server, config)
    bootstrap.ztps.set_definition_response(
        actions=[{"action": "test_action", "attributes": {"url": url}}]
    )
    bootstrap.ztps.set_action_response("test_action", get_action("replace_config"))
    contents = random_string()
    bootstrap.ztps.set_file_response(config, contents)
    bootstrap.start_test()
    try:
        self.assertTrue(os.path.isfile(bootstrap.startup_config))
        self.assertTrue(contents.split() == file_log(bootstrap.startup_config))
        self.assertTrue(bootstrap.success())
    except AssertionError as assertion:
        print("Output: {}".format(bootstrap.output))
        print("Error: {}".format(bootstrap.error))
        raise_exception(assertion)
    finally:
        bootstrap.end_test()