Hi all, Currently I am working on the unit testing for the esb-connector-jms extension. For that I need to mock the CarbonContext for the method CarbonContext.getThreadLocalCarbonContext().getTenantId(). But, I'm unable mock the CarbonContext. Can any one suggest me how can we mock the CarbonContext?
Thanks, Sivaramya Sivanathan Associate Software Engineer | WSO2 Tel: 0770874960 WSO2 Inc : http://wso2.org <http://www.google.com/url?q=http%3A%2F%2Fwso2.org&sa=D&sntz=1&usg=AFQjCNE_eTDfyl2ibPcq0hcXvRDNVuQmMg> LinkedIn | www.linkedin.com/in/sivaramya
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
