### Question:
PropertyChangeSupport { public void firePropertyChange(String propertyName) { validation.checkValid(propertyName); PropertyChangeListeners propertyChangeListeners = listenerMap.get(propertyName); if (propertyChangeListeners != null) { propertyChangeListeners.firePropertyChange(); } } PropertyChangeSupport(PropertyValidation validation); void addPropertyChangeListener(String propertyName, PropertyChangeListener listener); void removePropertyChangeListener(String propertyName, PropertyChangeListener listener); void firePropertyChange(String propertyName); void fireChangeAll();  }### Answer:
@Test public void givenListenerOnProperty1_whenFirePropertyChange_thenShouldReceiveNotification() { MockPropertyChangeListener mockListener = createListenerOnProperty(Bean.PROPERTY1); propertyChangeSupport.firePropertyChange(Bean.PROPERTY1); assertTrue(mockListener.propertyChangedFired); }