Code example for MutablePropertyValues

Methods: contains

0
 
    @Test
    public void newManagedProperties() { 
        this.propertyAugmenter.augment(this.beanFactory, this.beanClass, this.key, this.additionalProperties);
 
        assertTrue(this.propertyValues.contains(this.key));
    } 
 
    @Test
    public void factoryBean() { 
        when(this.beanFactory.getBeanNamesForType(this.beanClass, true, false)).thenReturn(new String[]{String.format
                ("%s%s", BeanFactory.FACTORY_BEAN_PREFIX, this.beanName)});
 
        this.propertyAugmenter.augment(this.beanFactory, this.beanClass, this.key, this.additionalProperties);
 
        assertTrue(this.propertyValues.contains(this.key));
    } 
 
    @Test
    public void existingProperties() {