### Question:
HashShardManager extends ShardManager { @Override public int storeData(Data data) { var shardId = allocateShard(data); var shard = shardMap.get(shardId); shard.storeData(data); LOGGER.info(data.toString() + " is stored in Shard " + shardId); return shardId; }  @Override int storeData(Data data);  }### Answer:
@Test public void testStoreData() { var data = new Data(1, "test", Data.DataType.TYPE_1); hashShardManager.storeData(data); Assert.assertEquals(data, hashShardManager.getShardById(1).getDataById(1)); }