### Question:
SxpEpProviderProviderImpl implements SxpEpProviderProvider { @Override public void close() throws Exception { sxpDatabaseListener.close(); epPolicyTemplateListener.close(); epForwardingTemplateListener.close(); epPolicyTemplateRegistry.close(); } SxpEpProviderProviderImpl(final DataBroker dataBroker, final BaseEndpointService endpointService,
                                     final DomainSpecificRegistry domainSpecificRegistry, final SgtGeneratorConfig sgtGeneratorConfig); @Override EPPolicyTemplateProviderRegistry getEPPolicyTemplateProviderRegistry(); @Override EPToSgtMapper getEPToSgtMapper(); @Override void close();  }### Answer:
@Test public void testClose() throws Exception { provider.close(); Mockito.verify(masterDBBindingListener).close(); Mockito.verify(epPolicyTemplateListener).close(); Mockito.verify(epForwardingTemplateListener).close(); Mockito.verify(templateProviderRegistry).close(); }