def test_invalid_command(self):
    extension = SentimentExtension()
    self.assertIsNotNone(extension)
    result = extension.execute(self.client_context, 'XXX')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT SCOREX')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT FEELING')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT FEELING LAST')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT SCORES')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT CURRENT')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
def test_invalid_command(self):
    extension = SentimentExtension()
    self.assertIsNotNone(extension)
    result = extension.execute(self.client_context, 'XXX')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT SCOREX')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT FEELING')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT FEELING LAST')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT SCORES')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)
    result = extension.execute(self.client_context, 'SENTIMENT CURRENT')
    self.assertIsNotNone(result)
    self.assertEqual('SENTIMENT INVALID COMMAND', result)