- verifyThatGetAppProxyConnectionRethrowsInstitutionMapNotInitialized() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that getAppProxyConnection(siteId, appProxyName) rethrows InstitutionMapNotInitialized
when InstitutionMappingDelegate.getJndiConnectorNameForInstitution(siteId)
throws InstitutionMapNotInitialized
- verifyThatGetAppProxyConnectionRethrowsInstitutionMappingNotFound() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that getAppProxyConnection(siteId, appProxyName) rethrows InstitutionMappingNotFoundException
when InstitutionMappingDelegate.getJndiConnectorNameForInstitution(siteId)
throws InstitutionMappingNotFoundException
- verifyThatGetAppProxyConnectionRethrowsNamingException() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that getAppProxyConnection(siteId, appProxyName) rethrows NamingException
when InitialContext.lookup(jndiName) throws NamingException.
- verifyThatGetAppProxyConnectionRethrowsResourceException() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that getAppProxyConnection(siteId, appProxyName) rethrows ResourceException
when connectionFactory.getConnection(connSpec) throws ResourceException.
- verifyThatGetAppProxyConnectionReturnsVistaLinkConnection() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that getAppProxyConnection returns a valid VistaLink Connection (happy path)
- verifyThatGetConnectionRethrowsInstitutionMapNotInitialized() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that getConnection(siteId, duz) rethrows InstitutionMapNotInitialized
when InstitutionMappingDelegate.getJndiConnectorNameForInstitution(siteId)
throws InstitutionMapNotInitialized
- verifyThatGetConnectionRethrowsInstitutionMappingNotFound() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that getConnection(siteId, duz) rethrows InstitutionMappingNotFoundException
when InstitutionMappingDelegate.getJndiConnectorNameForInstitution(siteId)
throws InstitutionMappingNotFoundException
- verifyThatGetConnectionRethrowsNamingException() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that getConnection(siteId, duz) rethrows NamingException
when InitialContext.lookup(jndiName) throws NamingException.
- verifyThatGetConnectionRethrowsResourceException() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that getConnection(siteId, duz) rethrows ResourceException
when connectionFactory.getConnection(connSpec) throws ResourceException.
- verifyThatGetConnectionReturnsVistaLinkConnection() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that getConnection returns a valid VistaLink Connection (happy path)
- verifyThatInitialContextLookupIsCalledFromGetAppProxyConnection() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that InitialContext.lookup(jndiName) is called from
getAppProxyConnection(siteId, appProxyName) once
- verifyThatInitialContextLookupIsCalledFromGetConnection() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that InitialContext.lookup(jndiName) is called from
getConnection(siteId, duz) once
- verifyThatInstitutionMappingDelegateGetJndiConnectorNameForInstitutionIsCalledFromGetAppProxyConnection() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that
InstitutionMappingDelegate.getJndiConnectorNameForInstitution(siteId) is
called from getAppProxyConnection(siteId, appProxyName)
- verifyThatInstitutionMappingDelegateGetJndiConnectorNameForInstitutionIsCalledFromGetConnection() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that
InstitutionMappingDelegate.getJndiConnectorNameForInstitution(siteId) is
called from getConnection(siteId, duz)
- verifyThatNewVistaLinkConnectionSpecIsCalledFromGetAppProxyConnection() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that new VistaLinkAppProxyConnectionSpec(siteId, appProxyName) is called from
getAppProxyConnection(siteId, appProxyName)
- verifyThatNewVistaLinkConnectionSpecIsCalledFromGetConnection() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that new VistaLinkConnectionSpec(siteId, duz) is called from
getConnection(siteId, duz)
- verifyThatVistaLinkConnectionFactoryGetConnectionIsCalledFromGetAppProxyConnection() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that VistaLinkConnectionFactory.getAppProxyConnection(connSpec) is called
from getAppProxyConnection(siteId, appProxyName) once
- verifyThatVistaLinkConnectionFactoryGetConnectionIsCalledFromGetConnection() - Method in class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-
Verify that VistaLinkConnectionFactory.getConnection(connSpec) is called
from getConnection(siteId, duz) once
- VistaLinkHelper - Class in gov.va.med.mbac.vlh.impl
-
This is the VistaLinkHelper class, which helps preserve coherence
and single-responsibility for our DAO classes by handling interactions
with VistaLink on their behalf.
- VistaLinkHelper(InitialContext) - Constructor for class gov.va.med.mbac.vlh.impl.VistaLinkHelper
-
VistaLinkHelper is lazily instantiated by Spring DI
- VistaLinkHelperTest - Class in gov.va.med.mbac.vlh.impl
-
This is the VistaLinkHelperTest class, which implements the unit tests
for the VistaLinkHelper class.
- VistaLinkHelperTest() - Constructor for class gov.va.med.mbac.vlh.impl.VistaLinkHelperTest
-