@Test public void testXMLwiring() { assertThat(myBeanConstructorInjection.getDependencyA(), notNullValue()); assertThat(myBeanSetterInjection.getDependencyA(), notNullValue()); }
public DependencyA getDependencyA() { return dependencyA; }
MyBean { public DependencyA getDependencyA() { return dependencyA; } }
MyBean { public DependencyA getDependencyA() { return dependencyA; } MyBean();  MyBean(DependencyA dependencyA); }
MyBean { public DependencyA getDependencyA() { return dependencyA; } MyBean();  MyBean(DependencyA dependencyA); void setDependencyA(DependencyA dependencyA); DependencyA getDependencyA(); }
MyBean { public DependencyA getDependencyA() { return dependencyA; } MyBean();  MyBean(DependencyA dependencyA); void setDependencyA(DependencyA dependencyA); DependencyA getDependencyA();  }