private AltinnAuthorizationDesicionPointExternalSettings settings;
public void initWithPermitXACMLInMockService() {
settings = new AltinnAuthorizationDesicionPointExternalSettings();
settings.setEndpoint("http://brukes_ikke");
altinnAuthorization = new AltinnAuthorization(settings);
MockAuthorizationDecisionPointExternal client = new MockAuthorizationDecisionPointExternal(settings);
client.setXACMLFile("AltinnAuthorizationDecisionPointExternalPermit.soap.response");
altinnAuthorization.setAltinnAuthorizationDesicionPointExternalClient(client);
CorrespondenceClient correspondenceClient = new CorrespondenceClient(MockCorrespondenceClient.newSettings());
altinnFacade = new AltinnFacade(null, correspondenceClient, altinnAuthorization, null);