def METHOD_NAME(self):
    lw = MockedLogWatcher('workdir/test.log', timeout=5, _reactor=self.reactor)
    d = lw.start()
    self.reactor.advance(4.9)
    lw.lineReceived(b'added builder')
    self.reactor.advance(4.9)
    lw.lineReceived(b'BuildMaster is running')
    res = yield d
    self.assertEqual(res, 'buildmaster')