message: Add: software wallet class `verifyMessage()` input tests
diff: @@ -37,6 +37,7 @@ const password = 'mocked-encryption-password';
  const keystore = 'mocked-keystore';
  const derivationPath = 'mocked-derivation-path';
  const mockedMessage = 'mocked-message';
  +const mockedSignature = 'mocked-signature';
  const mockedEthersSignMessage = {
  bind: jest.fn(),
  };
  @@ -52,6 +53,10 @@ const mockedTransactionObject = {
  const mockedMessageObject = {
  message: mockedMessage,
  };
  +const mockedSignatureObject = {
  + message: mockedMessage,
  + signature: mockedSignature,
  +};
  describe('`Software` Wallet Module', () => {
  afterEach(() => {
  @@ -285,5 +290,17 @@ describe('`Software` Wallet Module', () => {
  await testWallet.verifyMessage();
  expect(verifyMessage).toHaveBeenCalled();
  });
  + test('Validate `verifyMessage` method user input', async () => {
  + const trezorWallet = new SoftwareWallet(mockedArgumentsObject);
  + await trezorWallet.verifyMessage(mockedSignatureObject);
  + /*
  + * Validate the input
  + */
  + expect(userInputValidator).toHaveBeenCalled();
  + expect(userInputValidator).toHaveBeenCalledWith({
  + firstArgument: mockedSignatureObject,
  + requiredAll: REQUIRED_PROPS.VERIFY_MESSAGE,
  + });
  + });
  });
  });
  