### Question:
MultisigAccountInfo { public boolean hasCosigner(Address account) { return this.cosignatoryAddresses.contains(account); } MultisigAccountInfo(
      Address accountAddress,
      long minApproval,
      long minRemoval,
      List<Address> cosignatories,
      List<Address> multisigAddresses); Address getAccountAddress(); long getMinApproval(); long getMinRemoval(); List<Address> getCosignatoryAddresses(); List<Address> getMultisigAddresses(); boolean hasCosigner(Address account); boolean isCosignerOfMultisigAccount(Address account); boolean isMultisig();  }### Answer:
@Test void isCosignerShouldReturnTrueWhenTheAccountIsInTheCosignatoriesList() { MultisigAccountInfo multisigAccountInfo = new MultisigAccountInfo( address1, 2, 1, Arrays.asList(address2, address3), Collections.emptyList()); assertTrue(multisigAccountInfo.hasCosigner(address2)); }
@Test void isCosignatoryShouldReturnFalseWhenTheAccountIsNotInTHeCosignatoriesList() { MultisigAccountInfo multisigAccountInfo = new MultisigAccountInfo( address1, 2, 1, Arrays.asList(address2, address3), Collections.emptyList()); assertFalse(multisigAccountInfo.hasCosigner(address4)); }