protected void setUp() throws Exception {
Method m = ReflectionUtils.findMethod(Object.class, "hashCode");
context = new MockBundleContext();
interceptor = new LocalBundleContextAdvice(context);
invocation = new MockMethodInvocation(m) {
public Object proceed() throws Throwable {
assertSame("bundle context not set", context, LocalBundleContext.getInvokerBundleContext());
return null;
}
};