}
@Test
public void conventionPropertiesAreInherited() {
Bean bean = new Bean();
Convention convention = bean.extensibleDynamicObject.getConvention();
ConventionBean conventionBean = new ConventionBean();
conventionBean.setConventionProperty("value");
convention.getPlugins().put("convention", conventionBean);
DynamicObject inherited = bean.getInheritable();
assertTrue(inherited.hasProperty("conventionProperty"));
assertThat(inherited.getProperty("conventionProperty"), equalTo((Object) "value"));
assertThat(inherited.getProperties().get("conventionProperty"), equalTo((Object) "value"));