@Test
public void testBlueprintBundleContext() {

    Bean bean = new Bean(MyBean4.class, blueprint);
    bean.resolveDependency(blueprint);
    Property bcProp = bean.properties.iterator().next();
    assertEquals("bundleContext", bcProp.name);
    assertEquals("blueprintBundleContext", bcProp.ref);
    assertEquals("singleton", bean.attributes.get("scope"));
    Set<TransactionalDef> expectedTxs = Sets.newHashSet(new TransactionalDef("txWithoutClassAnnotation", "Supports"));
    assertEquals(expectedTxs, getTransactionalDefs(bean));
}