X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fauth-core%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Faaf%2Fauth%2Forg%2Ftest%2FJU_OrganizationFactory.java;h=902e94c04dd6ebbe0be62e041d78344ef8abc879;hb=67bac2c1c44beab7752b39584553449e1c8a4e94;hp=9723cd9ebcba2f93e34e474f2ce423e8d1a55ffc;hpb=1eb6678db673759f0f95b1aedfcb4fe55c7152a2;p=aaf%2Fauthz.git diff --git a/auth/auth-core/src/test/java/org/onap/aaf/auth/org/test/JU_OrganizationFactory.java b/auth/auth-core/src/test/java/org/onap/aaf/auth/org/test/JU_OrganizationFactory.java index 9723cd9e..902e94c0 100644 --- a/auth/auth-core/src/test/java/org/onap/aaf/auth/org/test/JU_OrganizationFactory.java +++ b/auth/auth-core/src/test/java/org/onap/aaf/auth/org/test/JU_OrganizationFactory.java @@ -51,13 +51,13 @@ public class JU_OrganizationFactory { } @SuppressWarnings("static-access") - @Test(expected = APIException.class) + @Test public void testInit() throws OrganizationException { organizationFactory.init(bEnv); } @SuppressWarnings("static-access") //TODO:Fix this once real input is available AAF-111 - @Test(expected = OrganizationException.class) + @Test public void testObtain() throws OrganizationException{ PowerMockito.when(authzEnvMock.getProperty("Organization."+orgNS)).thenReturn("notnull"); //organizationFactory.obtain(authzEnvMock, orgNS);