### Question:
EPPolicyTemplateDaoImpl implements DSAsyncDao<Sgt, EndpointPolicyTemplateBySgt>,
        ReadableByKey<EpPolicyTemplateValueKey, EndpointPolicyTemplateBySgt> { @VisibleForTesting protected InstanceIdentifier<EndpointPolicyTemplateBySgt> buildReadPath(final Sgt key) { return EPTemplateListener.SXP_MAPPER_TEMPLATE_PARENT_PATH .child(EndpointPolicyTemplateBySgt.class, new EndpointPolicyTemplateBySgtKey(key)); } EPPolicyTemplateDaoImpl(final DataBroker dataBroker,
                                   final SimpleCachedDao<Sgt, EndpointPolicyTemplateBySgt> cachedDao,
                                   final EpPolicyTemplateValueKeyFactory keyFactory); @Override ListenableFuture<Optional<EndpointPolicyTemplateBySgt>> read(@Nonnull final Sgt key); @Override Collection<EndpointPolicyTemplateBySgt> readBy(@Nonnull final EpPolicyTemplateValueKey specialKey);  }### Answer:
@Test public void testBuildReadPath() throws Exception { final KeyedInstanceIdentifier<EndpointPolicyTemplateBySgt, EndpointPolicyTemplateBySgtKey> expectedPath = InstanceIdentifier.create(SxpEpMapper.class) .child(EndpointPolicyTemplateBySgt.class, new EndpointPolicyTemplateBySgtKey(KEY_1)); final InstanceIdentifier<EndpointPolicyTemplateBySgt> readPath = dao.buildReadPath(KEY_1); Assert.assertEquals(expectedPath, readPath); }