def METHOD_NAME(self, mock1, mock2, mock3, mock4, mock5, mock6):
    self.segstop.db = '/tmp/gpseg0:1234'
    self.segstop.mode = 'immediate'
    self.segstop.timeout = '10'
    expected = SegStopStatus('/tmp/gpseg0', True, 'Shutdown Immediate')
    result = self.segstop.run()
    self.assertEqual(str(expected), str(result))