def test_isValidCommand_basicValidMessage_True(self): """ Now it fails! """ sut = Message("$$$$ffffffffffffffffkkm000000000000000") result = sut.isValidCommand() self.assertEqual(result, True)
def test_isValidCommand_emptyMessage_False(self): sut = Message("") result = sut.isValidCommand() self.assertEqual(result, False)
def test_isValidCommand_randomInvalidMessage_False(self): sut = Message("Some random invalid message") result = sut.isValidCommand() self.assertEqual(result, False)