Buggy code:
private static final ClassPathResource RECURSIVE_IMPORT_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-recursiveImport.xml" ) ; private static final ClassPathResource RESOURCE_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-resource.xml" ) ; private static final ClassPathResource RESOURCE_IMPORT_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-resourceImport.xml" ) ; private static final ClassPathResource SATISFIED_ALL_DEP_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-satisfiedAllDepCheck.xml" ) ; private static final ClassPathResource SATISFIED_OBJECT_DEP_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-satisfiedObjectDepCheck.xml" ) ; private static final ClassPathResource SATISFIED_SIMPLE_DEP_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-satisfiedSimpleDepCheck.xml" ) ; private static final ClassPathResource TEST_WITH_DUP_NAMES_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-testWithDuplicateNames.xml" ) ; private static final ClassPathResource TEST_WITH_DUP_NAME_IN_ALIAS_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-testWithDuplicateNameInAlias.xml" ) ; private static final ClassPathResource UNSATISFIED_ALL_DEP_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-unsatisfiedAllDepCheckMissingObjects.xml" ) ; private static final ClassPathResource UNSATISFIED_OBJECT_DEP_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-unsatisfiedObjectDepCheck.xml" ) ; private static final ClassPathResource UNSATISFIED_SIMPLE_DEP_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-unsatisfiedSimpleDepCheck.xml" ) ; private static final ClassPathResource REFTYPES_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-reftypes.xml" ) ; private static final ClassPathResource DEFAULT_LAZY_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-defaultLazyInit.xml" ) ; private static final ClassPathResource DEFAULT_AUTOWIRE_CONTEXT = XmlBeanFactoryTests . classPathResource ( "-defaultAutowire.xml" ) ; private static ClassPathResource classPathResource ( String suffix ) { } @ Test public void testCollectionsReferredToAsRefLocals ( ) throws Exception { } @ Test public void testRefToSeparatePrototypeInstances ( ) throws Exception { } @ Test public void testRefToSingleton ( ) throws Exception { } @ Test public void testInnerBeans ( ) throws IOException { } @ Test public void testInnerBeansWithoutDestroy ( ) { } @ Test public void testFailsOnInnerBean ( ) { } @ Test public void testInheritanceFromParentFactoryPrototype ( ) throws Exception { } @ Test public void testInheritanceWithDifferentClass ( ) throws Exception { } @ Test public void testInheritanceWithClass ( ) throws Exception { } @ Test public void testPrototypeInheritanceFromParentFactoryPrototype ( ) throws Exception { } @ Test public void testPrototypeInheritanceFromParentFactorySingleton ( ) throws Exception { } @ Test public void testAutowireModeNotInherited ( ) { } @ Test public void testAbstractParentBeans ( ) { } @ Test public void testDependenciesMaterializeThis ( ) throws Exception { } @ Test public void testChildOverridesParentBean ( ) throws Exception { } @ Test public void testBogusParentageFromParentFactory ( ) throws Exception { } @ Test public void testSingletonInheritsFromParentFactoryPrototype ( ) throws Exception { } @ Test public void testSingletonFromParent ( ) { } @ Test public void testNestedPropertyValue ( ) { } @ Test public void testCircularReferences ( ) { } @ Test public void testCircularReferenceWithFactoryBeanFirst ( ) { } @ Test public void testCircularReferenceWithTwoFactoryBeans ( ) { } @ Test public void testCircularReferencesWithNotAllowed ( ) { } @ Test public void testCircularReferencesWithWrapping ( ) { } @ Test public void testCircularReferencesWithWrappingAndRawInjectionAllowed ( ) { } @ Test public void testFactoryReferenceCircle ( ) { } @ Test public void testFactoryReferenceWithDoublePrefix ( ) { } @ Test public void testComplexFactoryReferenceCircle ( ) { } @ Test public void testNoSuchFactoryBeanMethod ( ) { } @ Test public void testInitMethodIsInvoked ( ) throws Exception { } @ Test public void testInitMethodThrowsException ( ) { } @ Test public void testNoSuchInitMethod ( ) throws Exception { } @ Test public void testInitializingBeanAndInitMethod ( ) throws Exception { } @ Test public void testInitializingBeanAndSameInitMethod ( ) throws Exception { } @ Test public void testDefaultLazyInit ( ) throws Exception { } @ Test public void testNoSuchXmlFile ( ) throws Exception { } @ Test public void testInvalidXmlFile ( ) throws Exception { } @ Test public void testUnsatisfiedObjectDependencyCheck ( ) throws Exception { } @ Test public void testUnsatisfiedSimpleDependencyCheck ( ) throws Exception { } @ Test public void testSatisfiedObjectDependencyCheck ( ) throws Exception { } @ Test public void testSatisfiedSimpleDependencyCheck ( ) throws Exception { } @ Test public void testUnsatisfiedAllDependencyCheck ( ) throws Exception { } @ Test public void testSatisfiedAllDependencyCheck ( ) throws Exception { } @ Test public void testAutowire ( ) throws Exception { } @ Test public void testAutowireWithParent ( ) throws Exception { XmlBeanFactory xbf = new XmlBeanFactory ( XmlBeanFactoryTests . AUTOWIRE_CONTEXT ) ; DefaultListableBeanFactory lbf = new DefaultListableBeanFactory ( ) ; MutablePropertyValues pvs = new MutablePropertyValues ( ) ; <START_BUG> pvs . addPropertyValue ( "name" , "kerry" ) ; <END_BUG> lbf . registerBeanDefinition ( "spouse" , new org . springframework . beans . factory . support . RootBeanDefinition ( TestBean . class , pvs ) ) ; xbf . setParentBeanFactory ( lbf ) ; doTestAutowire ( xbf ) ; } private void doTestAutowire ( XmlBeanFactory xbf ) throws Exception { } @ Test public void testAutowireWithDefault ( ) throws Exception { } @ Test public void testAutowireByConstructor ( ) throws Exception { } @ Test public void testAutowireByConstructorWithSimpleValues ( ) throws Exception { } @ Test public void testRelatedCausesFromConstructorResolution ( ) { } @ Test public void testConstructorArgResolution ( ) { } @ Test public void testPrototypeWithExplicitArguments ( ) { } @ Test public void testConstructorArgWithSingleMatch ( ) { } @ Test public void testThrowsExceptionOnTooManyArguments ( ) throws Exception { } @ Test public void testThrowsExceptionOnAmbiguousResolution ( ) throws Exception { } @ Test public void testDependsOn ( ) { } @ Test public void testDependsOnInInnerBean ( ) { } @ Test public void testDependenciesThroughConstructorArguments ( ) { } @ Test public void testDependenciesThroughConstructorArgumentAutowiring ( ) { } @ Test public void testDependenciesThroughConstructorArgumentsInInnerBean ( ) { } @ Test public void testDependenciesThroughProperties ( ) { } @ Test public void testDependenciesThroughPropertiesWithInTheMiddle ( ) { } @ Test public void testDependenciesThroughPropertyAutowiringByName ( ) { } @ Test public void testDependenciesThroughPropertyAutowiringByType ( ) { } @ Test public void testDependenciesThroughPropertiesInInnerBean ( ) { } private void doTestDependencies ( ClassPathResource resource , int nrOfHoldingBeans ) { } @ Test public void testClassNotFoundWithDefaultBeanClassLoader ( ) { } @ Test public void testClassNotFoundWithNoBeanClassLoader ( ) { } @ Test public void testResourceAndInputStream ( ) throws IOException { } @ Test public void testClassPathResourceWithImport ( ) { } @ Test public void testUrlResourceWithImport ( ) { } @ Test public void testFileSystemResourceWithImport ( ) { }

Fix:
pvs . add ( "name" , "kerry" ) ;