### Question:
NamespaceMetadataTransaction extends MetadataTransaction { public NamespaceId getTargetNamespaceId() { return targetNamespaceId; } NamespaceMetadataTransaction(NamespaceMetadataTransactionFactory factory); NamespaceId getTargetNamespaceId();  }### Answer:
@Test void shouldBuild() { NamespaceId namespaceId = NamespaceId.createFromId(BigInteger.valueOf(1000)); NamespaceMetadataTransaction transaction = NamespaceMetadataTransactionFactory.create( NetworkType.MIJIN_TEST, account.getPublicAccount().getAddress(), namespaceId, BigInteger.TEN, "ABC123") .valueSizeDelta(10) .deadline(new FakeDeadline()) .build(); assertEquals("ABC123", transaction.getValue()); assertEquals(namespaceId, transaction.getTargetNamespaceId()); assertEquals(NetworkType.MIJIN_TEST, transaction.getNetworkType()); assertEquals(10, transaction.getValueSizeDelta()); assertEquals(BigInteger.TEN, transaction.getScopedMetadataKey()); assertEquals(account.getAddress(), transaction.getTargetAddress()); }