### Question:
ResolutionStatement implements Stored { public String generateHash(NetworkType networkType) { byte[] serialized = serialize(networkType); byte[] hash = Hashes.sha3_256(serialized); return ConvertUtils.toHex(hash); } ResolutionStatement(
      String recordId,
      ResolutionType resolutionType,
      BigInteger height,
      U unresolved,
      List<ResolutionEntry<R>> resolutionEntries); U getUnresolved(); BigInteger getHeight(); List<ResolutionEntry<R>> getResolutionEntries(); ResolutionType getResolutionType(); Optional<ResolutionEntry<R>> getResolutionEntryById(long primaryId, long secondaryId); String generateHash(NetworkType networkType); @Override Optional<String> getRecordId();  }### Answer:
@Test void shouldGenerateHashAddress() { List<ResolutionEntry<Address>> resolutionEntries = new ArrayList<>(); resolutionEntries.add(addressResolutionEntry); AddressResolutionStatement resolutionStatement = new AddressResolutionStatement("abc", BigInteger.TEN, address, resolutionEntries); String hash = resolutionStatement.generateHash(networkType); assertFalse(hash.isEmpty()); assertEquals("62F9D146855E2723357D6421BC61283C2CB0F966E6F5DBB44E84C59DAD3E47D6", hash); }
@Test void shouldGenerateHashMosaic() { List<ResolutionEntry<MosaicId>> resolutionEntries = new ArrayList<>(); resolutionEntries.add(mosaicResolutionEntry); MosaicResolutionStatement resolutionStatement = new MosaicResolutionStatement("abc", BigInteger.TEN, mosaicId, resolutionEntries); String hash = resolutionStatement.generateHash(networkType); assertFalse(hash.isEmpty()); assertEquals("9BB7E01FAEA831E790E4A2DE8DBEDB32F73889493F6B1BC02031457CB655F6D0", hash); }