### Question:
MapperUtils { public static UnresolvedMosaicId toUnresolvedMosaicId(String hex) { if (hex == null) { return null; } if ((ConvertUtils.getBytes(hex)[0] & 128) == 128) { return toNamespaceId(hex); } else { return toMosaicId(hex); } } private  MapperUtils(); static NamespaceId toNamespaceId(String hex); static MosaicId toMosaicId(String hex); static UnresolvedMosaicId toUnresolvedMosaicId(String hex); static UnresolvedAddress toUnresolvedAddress(String hex); static Address toAddressFromRawAddress(String rawAddress); static BigInteger fromHexToBigInteger(String hex); static String fromBigIntegerToHex(BigInteger value); static Address toAddress(String encodedAddress); static String getIdAsHex(UnresolvedMosaicId id);  }### Answer:
@Test void toUnresolvedMosaicId() { MosaicId mosaicId = new MosaicId("11F4B1B3AC033DB5"); NamespaceId namespaceId = NamespaceId.createFromName("some.name123"); Assertions.assertNull(MapperUtils.toUnresolvedMosaicId(null)); Assertions.assertEquals(mosaicId, MapperUtils.toUnresolvedMosaicId(mosaicId.getIdAsHex())); Assertions.assertEquals( namespaceId, MapperUtils.toUnresolvedMosaicId(namespaceId.getIdAsHex())); Assertions.assertEquals( new NamespaceId("9a52fde35777cd4f"), MapperUtils.toUnresolvedMosaicId("9a52fde35777cd4f")); }