SimpleDbViewModelService implements WteModelService { @Override public List<String> listRequiredModelProperties() { List<String> list = new ArrayList<String>(); list.add(VIEW_NAME); list.add(PRIMARY_KEY_COLUMN_NAME); return list; } protected  SimpleDbViewModelService();  SimpleDbViewModelService(DataSource aDs); @Override Map<String, Class<?>> listModelElements(Class<?> inputClass,
			Map<String, String> properties); @Override List<String> listRequiredModelProperties(); @Override WteDataModel createModel(Template<?> template, Object input); static final String VIEW_NAME; static final String PRIMARY_KEY_COLUMN_NAME; }
@Test public void testRequiredProperties() throws SQLException { SimpleDbViewModelService ms = new SimpleDbViewModelService(ds); List<String> list = ms.listRequiredModelProperties(); assertTrue(list.size() == 2); }