def METHOD_NAME(self):
    resultdir_text = "RESULT"
    self.setup_step(mock.Mock(root='TESTROOT', resultdir=Interpolate(
        '%(kw:resultdir)s', resultdir=resultdir_text)))
    self.expect_commands(
        ExpectRmdir(dir=['build/RESULT/build.log',
                         'build/RESULT/root.log',
                         'build/RESULT/state.log'],
                    log_environ=False)
        .exit(0),
        ExpectShell(workdir='wkdir',
                    command=['mock', '--root', 'TESTROOT',
                             '--resultdir', 'RESULT'],
                    logfiles={'build.log': 'RESULT/build.log',
                              'root.log': 'RESULT/root.log',
                              'state.log': 'RESULT/state.log'})
        .exit(0))
    self.expect_outcome(result=SUCCESS, state_string="'mock --root ...'")
    return self.run_step()