### Question:
ShardNameHelper { public String getShardNameByShardId(Long shardId, UUID chainId) { if (shardId == null || shardId < 0) { throw new IllegalArgumentException("'shardId' should have positive value, but " + shardId + " was supplied"); } Objects.requireNonNull(chainId, "chainID must be set"); String result = String.format(SHARD_NAME_PATTERN, shardId, chainId.toString()); log.debug(result); return result; } ShardNameHelper(); String getShardNameByShardId(Long shardId, UUID chainId); String getFullShardId(Long shardId, UUID chainId); String getFullShardPrunId(Long shardId, UUID chainId); String getCoreShardArchiveNameByShardId(Long shardId, UUID chainId); String getPrunableShardArchiveNameByShardId(Long shardId, UUID chainId);  }### Answer:
@Test void getShardName() { ShardNameHelper shardNameHelper = new ShardNameHelper(); String result = shardNameHelper.getShardNameByShardId(001L, chainId); assertEquals("apl-blockchain-shard-1-chain-b5d7b697-f359-4ce5-a619-fa34b6fb01a5", result); result = shardNameHelper.getShardNameByShardId(2001L, chainId); assertEquals("apl-blockchain-shard-2001-chain-b5d7b697-f359-4ce5-a619-fa34b6fb01a5", result); }