@Test
public void testParseMyBean3() {

    Bean bean = new Bean(MyBean3.class, blueprint);
    bean.resolveDependency(blueprint);
    assertEquals(MyBean3.class, bean.clazz);
    assertEquals("myBean3", bean.id); // Name derived from class name
    assertEquals("There should be no persistence fields", 0, getPersistenceFields(bean).size());
    assertEquals(5, bean.properties.size());
    assertEquals("prototype", bean.attributes.get("scope"));
    Set<TransactionalDef> expectedTxs = Sets.newHashSet(new TransactionalDef("*", "RequiresNew"),
            new TransactionalDef("txNotSupported", "NotSupported"),
            new TransactionalDef("txMandatory", "Mandatory"),
            new TransactionalDef("txNever", "Never"),
            new TransactionalDef("txRequired", "Required"),
            new TransactionalDef("txRequiresNew", "RequiresNew"),
            new TransactionalDef("txSupports", "Supports"));
    assertEquals(expectedTxs, getTransactionalDefs(bean));
}