@Test
public void nameRef() throws Exception {
DefaultListableBeanFactory beanFactory = createFactory("simpleConstructorNamespaceHandlerTests.xml");
TestBean nameValue = beanFactory.getBean("name-value", TestBean.class);
DummyBean nameRef = beanFactory.getBean("name-ref", DummyBean.class);
assertEquals("some-name", nameRef.getName());
assertEquals(nameValue, nameRef.getSpouse());
}