private Bundle framework;
@Before
public void setup() throws Exception
{
framework = Skeleton.newMock(new BundleMock("framework", new Hashtable<Object, Object>()), Bundle.class);
BundleContext ctx = Skeleton.newMock(BundleContext.class);
Skeleton.getSkeleton(ctx).setReturnValue(new MethodCall(BundleContext.class, "getBundle", long.class), framework);
client = Skeleton.newMock(Bundle.class);