Hello,

in my source code, including following code:

InitialContext ctx = new InitialContext();

............= (...........)ctx.lookup("java:comp/env/service/someservce");

so i wonder, in my junit test case, how to mock the InitialContext to look up and return a mock service?

Thanks.