diff options
author | Morten Tokle <mortent@oath.com> | 2017-10-24 13:08:24 +0200 |
---|---|---|
committer | Morten Tokle <mortent@oath.com> | 2017-10-24 13:08:24 +0200 |
commit | 045d7020da4384b460ffb1c4b8edea924b7ba118 (patch) | |
tree | 15644f4d3dd2f817d464bb9fe7a7c4755618b5a6 /container-disc/src/test | |
parent | 52f40803e3c989b7aecf7784d656b7b485d89b88 (diff) |
separate interface from implementation
Diffstat (limited to 'container-disc/src/test')
-rw-r--r-- | container-disc/src/test/java/com/yahoo/container/jdisc/athenz/AthenzIdentityProviderTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/container-disc/src/test/java/com/yahoo/container/jdisc/athenz/AthenzIdentityProviderTest.java b/container-disc/src/test/java/com/yahoo/container/jdisc/athenz/AthenzIdentityProviderTest.java index 2651cfd3a63..4577402b8c1 100644 --- a/container-disc/src/test/java/com/yahoo/container/jdisc/athenz/AthenzIdentityProviderTest.java +++ b/container-disc/src/test/java/com/yahoo/container/jdisc/athenz/AthenzIdentityProviderTest.java @@ -1,6 +1,7 @@ package com.yahoo.container.jdisc.athenz; import com.yahoo.container.core.identity.IdentityConfig; +import com.yahoo.container.jdisc.athenz.impl.AthenzIdentityProviderImpl; import com.yahoo.container.jdisc.athenz.impl.AthenzService; import com.yahoo.container.jdisc.athenz.impl.InstanceIdentity; import com.yahoo.container.jdisc.athenz.impl.ServiceProviderApi; @@ -29,7 +30,7 @@ public class AthenzIdentityProviderTest { when(athenzService.sendInstanceRegisterRequest(any(), anyString())).thenReturn( new InstanceIdentity(null, null, null, null, null, null, null, null, "TOKEN")); - AthenzIdentityProvider identityProvider = new AthenzIdentityProvider(config, serviceProviderApi, athenzService); + AthenzIdentityProvider identityProvider = new AthenzIdentityProviderImpl(config, serviceProviderApi, athenzService); Assert.assertEquals("TOKEN", identityProvider.getNToken()); } |