@Test public void testAddPropertyChangeListener() throws Exception { BlockableJobConfig config = new BlockableJobConfig(); config.addPropertyChangeListener( listener ); config.setJobEntryName( "jobName1" ); verify( listener, times( 1 ) ).propertyChange( any( PropertyChangeEvent.class ) ); verify( listener ).propertyChange( event.capture() ); assertEquals( config.getJobEntryName(), event.getValue().getNewValue() ); config.removePropertyChangeListener( listener ); config.setJobEntryName( "jobName2" ); verify( listener, times( 1 ) ).propertyChange( any( PropertyChangeEvent.class ) ); }
public void addPropertyChangeListener( PropertyChangeListener l ) { pcs.addPropertyChangeListener( l ); }
BlockableJobConfig implements XulEventSource, Cloneable { public void addPropertyChangeListener( PropertyChangeListener l ) { pcs.addPropertyChangeListener( l ); } }
BlockableJobConfig implements XulEventSource, Cloneable { public void addPropertyChangeListener( PropertyChangeListener l ) { pcs.addPropertyChangeListener( l ); }  }
BlockableJobConfig implements XulEventSource, Cloneable { public void addPropertyChangeListener( PropertyChangeListener l ) { pcs.addPropertyChangeListener( l ); }  String getJobEntryName(); void setJobEntryName( String jobEntryName ); String getBlockingPollingInterval(); void setBlockingPollingInterval( String blockingPollingInterval ); String getBlockingExecution(); void setBlockingExecution( String blockingExecution ); void addPropertyChangeListener( PropertyChangeListener l ); void addPropertyChangeListener( String propertyName, PropertyChangeListener l ); void removePropertyChangeListener( PropertyChangeListener l ); void removePropertyChangeListener( String propertyName, PropertyChangeListener l ); @Override Object clone(); @Override boolean equals( Object o ); @Override int hashCode(); }
BlockableJobConfig implements XulEventSource, Cloneable { public void addPropertyChangeListener( PropertyChangeListener l ) { pcs.addPropertyChangeListener( l ); }  String getJobEntryName(); void setJobEntryName( String jobEntryName ); String getBlockingPollingInterval(); void setBlockingPollingInterval( String blockingPollingInterval ); String getBlockingExecution(); void setBlockingExecution( String blockingExecution ); void addPropertyChangeListener( PropertyChangeListener l ); void addPropertyChangeListener( String propertyName, PropertyChangeListener l ); void removePropertyChangeListener( PropertyChangeListener l ); void removePropertyChangeListener( String propertyName, PropertyChangeListener l ); @Override Object clone(); @Override boolean equals( Object o ); @Override int hashCode(); static final String JOB_ENTRY_NAME; static final String BLOCKING_EXECUTION; static final String BLOCKING_POLLING_INTERVAL; }