Hello, I'm trying to create a COnfluence Blueprint, which is not such an easy task when looking at the atlassian documentation :(
Anyway, I succeeded in doin what I want so far, and Im now trying to test the differents Java classes I wrote.
I want to test the ContextProvider I wrote which extend
AbstractBlueprintContextProvider
I can instantiate my class and all of its dependencies in my test so far, but How could trigger the updateBlueprintContext method to be fired?
Hope someone can help me understand,
Regards
michael
Ok will answer myself,
After initializaing your context object :
contextProvider = new ContextProvider();
contextProvider.getContextMap(contextMap)
Calling getContextMap will then call the updateBlueprintContext function of your ContextProvider.
In case anyone needs it.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.