def METHOD_NAME(self, name, use_interpolation):
    fake_reporter = yield self.setup_config(use_interpolation)
    build = yield self.doForceBuild(wantSteps=True, wantLogs=True)
    self.assertEqual(build['buildid'], 1)
    # check the command line
    res = yield self.checkBuildStepLogExist(build, "echo <foo>")
    # also check the secrets are replaced in argv
    yield self.checkBuildStepLogExist(build, "argv:.*echo.*<foo>", regex=True)
    # also check that the correct value goes to the command
    if os.name == "posix" and use_interpolation:
        res &= yield self.checkBuildStepLogExist(build, "The password was there")
    self.assertTrue(res)
    # at this point, build contains all the log and steps info that is in the db
    # we check that our secret is not in there!
    self.assertNotIn("secretvalue", repr(build))
    self.assertTrue(fake_reporter.reported)