AssociateDataFileBean implements Serializable { public void observerUpload(@Observes ModifiedDatafileMessage msg) { DataFile df = msg.getModified(); if (df != null && selectionModel != null) { selectionModel.getTarget().add(df); } }  void init(); DualListModel<DataFile> getSelectionModel(); void setSelectionModel(DualListModel<DataFile> selectionModel); void observerUpload(@Observes ModifiedDatafileMessage msg); void save();  }
@Test public void testObserverUpload_1() throws Exception { ModifiedDatafileMessage msg = new ModifiedDatafileMessage(new DataFile(), new Object()); associateDataFileBean.observerUpload(msg); }
@Test public void testObserverUpload_2() throws Exception { ModifiedDatafileMessage msg = new ModifiedDatafileMessage(new DataFile(), new Object()); associateDataFileBean.observerUpload(msg); }
@Test public void testObserverUpload_3() throws Exception { ModifiedDatafileMessage msg = new ModifiedDatafileMessage(new DataFile(), new Object()); associateDataFileBean.observerUpload(msg); }