message: Add: software wallet `verifyMessage` class unit tests
diff: @@ -7,7 +7,11 @@ import { addressValidator, hexSequenceValidator } from '../../core/validators';
  import { hexSequenceNormalizer } from '../../core/normalizers';
  import SoftwareWallet from '../../software/class';
  -import { signTransaction, signMessage } from '../../software/staticMethods';
  +import {
  + signTransaction,
  + signMessage,
  + verifyMessage,
  +} from '../../software/staticMethods';
  import { REQUIRED_PROPS } from '../../core/defaults';
  import { TYPE_SOFTWARE, SUBTYPE_ETHERS } from '../../core/types';
  @@ -61,6 +65,7 @@ describe('`Software` Wallet Module', () => {
  userInputValidator.mockClear();
  signMessage.mockClear();
  mockedEthersSignMessage.bind.mockClear();
  + verifyMessage.mockClear();
  });
  describe('`SoftwareWallet` Class', () => {
  test('Creates a new wallet', async () => {
  @@ -127,6 +132,10 @@ describe('`Software` Wallet Module', () => {
  * Sign message method
  */
  expect(testWallet).toHaveProperty('signMessage');
  + /*
  + * Verify message method
  + */
  + expect(testWallet).toHaveProperty('verifyMessage');
  });
  test('Only has the mnemonic prop if it was opened with it', () => {
  const testWallet = new SoftwareWallet(mockedArgumentsObject);
  @@ -271,5 +280,10 @@ describe('`Software` Wallet Module', () => {
  requiredAll: REQUIRED_PROPS.SIGN_MESSAGE,
  });
  });
  + test('`verifyMessages()` calls the correct static method', async () => {
  + const testWallet = new SoftwareWallet(mockedArgumentsObject);
  + await testWallet.verifyMessage();
  + expect(verifyMessage).toHaveBeenCalled();
  + });
  });
  });
  