Class PropertiesClientSecretValueResolverTest
- java.lang.Object
-
- net.shibboleth.oidc.metadata.impl.BaseClientSecretValueResolverTest<net.shibboleth.oidc.metadata.impl.PropertiesClientSecretValueResolver>
-
- net.shibboleth.oidc.metadata.impl.PropertiesClientSecretValueResolverTest
-
public class PropertiesClientSecretValueResolverTest extends BaseClientSecretValueResolverTest<net.shibboleth.oidc.metadata.impl.PropertiesClientSecretValueResolver>
Unit tests forPropertiesClientSecretValueResolver.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) StringclientSecretKeyReference(package private) StringclientSecretValue(package private) Resourceresource-
Fields inherited from class net.shibboleth.oidc.metadata.impl.BaseClientSecretValueResolverTest
resolver
-
-
Constructor Summary
Constructors Constructor Description PropertiesClientSecretValueResolverTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.shibboleth.oidc.metadata.impl.PropertiesClientSecretValueResolverbuildResolver(boolean init)voidinit()voidinitialize_shouldThrowWhenResourceNotSet()voidresolve_shouldReturnEmptyIteratorWhenPropertyNotFound()voidresolve_shouldReturnSingleValueIteratorWhenPropertyFound()voidresolveSingle_shouldReturnNullWhenPropertyNotFound()voidresolveSingle_shouldReturnPropertyWhenFound()voidsetResource_shouldThrowAfterInit()voidsetResource_shouldThrowIfResourceIsNul()-
Methods inherited from class net.shibboleth.oidc.metadata.impl.BaseClientSecretValueResolverTest
buildCriteriaSet, resolve_shouldThrowIfCalledAfterDestroy, resolve_shouldThrowIfCalledBeforeInit, resolveSingle_shouldThrowIfCalledAfterDestroy, resolveSingle_shouldThrowIfCalledBeforeInit
-
-
-
-
Method Detail
-
init
@BeforeMethod public void init()
-
initialize_shouldThrowWhenResourceNotSet
public void initialize_shouldThrowWhenResourceNotSet() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
setResource_shouldThrowIfResourceIsNul
public void setResource_shouldThrowIfResourceIsNul()
-
setResource_shouldThrowAfterInit
public void setResource_shouldThrowAfterInit() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
resolveSingle_shouldReturnNullWhenPropertyNotFound
public void resolveSingle_shouldReturnNullWhenPropertyNotFound() throws ResolverException, ComponentInitializationException
-
resolveSingle_shouldReturnPropertyWhenFound
public void resolveSingle_shouldReturnPropertyWhenFound() throws ResolverException, ComponentInitializationException
-
resolve_shouldReturnEmptyIteratorWhenPropertyNotFound
public void resolve_shouldReturnEmptyIteratorWhenPropertyNotFound() throws ResolverException, ComponentInitializationException
-
resolve_shouldReturnSingleValueIteratorWhenPropertyFound
public void resolve_shouldReturnSingleValueIteratorWhenPropertyFound() throws ResolverException, ComponentInitializationException
-
buildResolver
protected net.shibboleth.oidc.metadata.impl.PropertiesClientSecretValueResolver buildResolver(boolean init) throws ComponentInitializationException- Specified by:
buildResolverin classBaseClientSecretValueResolverTest<net.shibboleth.oidc.metadata.impl.PropertiesClientSecretValueResolver>- Throws:
ComponentInitializationException
-
-