### Question:
PersistenceUnitPropertyGrid implements IsWidget,
                   PersistenceUnitPropertyGridView.Presenter { public void setProperties( List<PropertyRow> properties ) { this.properties = properties; dataProvider.getList().clear(); if ( properties != null ) { dataProvider.getList().addAll( properties ); } } PersistenceUnitPropertyGrid(); @Inject  PersistenceUnitPropertyGrid( PersistenceUnitPropertyGridView view ); @Override Widget asWidget(); void setProperties( List<PropertyRow> properties ); List<PropertyRow> getProperties(); @Override void onAddProperty(); @Override void onRemoveProperty( PropertyRow propertyRow ); void setReadOnly( boolean readOnly ); void redraw();  }### Answer:
@Test public void testSetProperties() { List<PropertyRow> properties = new ArrayList<PropertyRow>( ); properties.add( propertyRow1 ); properties.add( propertyRow2 ); properties.add( propertyRow3 ); presenter.setProperties( properties ); assertEquals( properties, presenter.getProperties() ); assertEquals( properties, dataProvider.getList() ); }