### Question:
MosaicMetadataTransaction extends MetadataTransaction { public UnresolvedMosaicId getTargetMosaicId() { return targetMosaicId; } MosaicMetadataTransaction(MosaicMetadataTransactionFactory factory); UnresolvedMosaicId getTargetMosaicId();  }### Answer:
@Test void shouldBuild() { MosaicId mosaicId = new MosaicId(BigInteger.valueOf(1000)); MosaicMetadataTransaction transaction = MosaicMetadataTransactionFactory.create( NetworkType.MIJIN_TEST, account.getAddress(), mosaicId, BigInteger.TEN, "123ABC") .valueSizeDelta(10) .deadline(new FakeDeadline()) .build(); assertEquals("123ABC", transaction.getValue()); assertEquals(mosaicId, transaction.getTargetMosaicId()); assertEquals(NetworkType.MIJIN_TEST, transaction.getNetworkType()); assertEquals(10, transaction.getValueSizeDelta()); assertEquals(BigInteger.TEN, transaction.getScopedMetadataKey()); assertEquals(account.getAddress(), transaction.getTargetAddress()); }