def METHOD_NAME(self):
    logname = 'notstdio'
    cmd = self.makeRemoteCommand(stdioLogName=logname)
    log = logfile.FakeLogFile(logname)
    cmd.useLog(log)
    cmd.addStdout('some stdout')
    self.assertEqual(log.stdout, 'some stdout')
    cmd.addStderr('some stderr')
    self.assertEqual(log.stderr, 'some stderr')
    cmd.addHeader('some header')
    self.assertEqual(log.header, 'some header')