Class CharonFactoryUnitTest
java.lang.Object
de.hybris.platform.apiregistryservices.factory.impl.CharonFactoryUnitTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprepareClient(Class client, String cacheKey) voidsetup()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
expectedException
public org.junit.rules.ExpectedException expectedException
-
-
Constructor Details
-
CharonFactoryUnitTest
public CharonFactoryUnitTest()
-
-
Method Details
-
setup
public void setup() -
testClient
- Throws:
CredentialException
-
testBuildCacheKeyWithNullDestination
public void testBuildCacheKeyWithNullDestination() -
testBuildCacheKeyWithValidDestinationNoCredential
public void testBuildCacheKeyWithValidDestinationNoCredential() -
testBuildCacheKeyWithValidDestinationHasCredential
public void testBuildCacheKeyWithValidDestinationHasCredential() -
testInvalidateCacheWithNullKey
public void testInvalidateCacheWithNullKey() -
testInvalidateCacheWithDestinationUpdateForOneClientHasNoCredential
public void testInvalidateCacheWithDestinationUpdateForOneClientHasNoCredential() throws CredentialException- Throws:
CredentialException
-
testInvalidateCacheWithDestinationUpdateForTwoClientBothHasNoCredential
public void testInvalidateCacheWithDestinationUpdateForTwoClientBothHasNoCredential() throws CredentialException- Throws:
CredentialException
-
testInvalidateCacheWithDestinationUpdateForOneClientHasCredential
public void testInvalidateCacheWithDestinationUpdateForOneClientHasCredential() throws CredentialException- Throws:
CredentialException
-
testInvalidateCacheWithDestinationUpdateForTwoClientBothHasCredential
public void testInvalidateCacheWithDestinationUpdateForTwoClientBothHasCredential() throws CredentialException- Throws:
CredentialException
-
testInvalidateCacheWithCredentialUpdateForOneClientHasCredential
public void testInvalidateCacheWithCredentialUpdateForOneClientHasCredential() throws CredentialException- Throws:
CredentialException
-
testInvalidateCacheWithCredentialUpdateForTwoClientBothHasCredential
public void testInvalidateCacheWithCredentialUpdateForTwoClientBothHasCredential() throws CredentialException- Throws:
CredentialException
-
testInvalidateCacheWithCredentialUpdateForMultipleClients
- Throws:
CredentialException
-
testClearCache
- Throws:
CredentialException
-
prepareClient
- Throws:
CredentialException
-