/**
* @see org.apache.james.vut.lib.AbstractVirtualUserTableTest#getVirtualUserTable()
*/
protected AbstractVirtualUserTable getVirtualUserTable() throws Exception {
JDBCVirtualUserTable virtualUserTable = new JDBCVirtualUserTable();
virtualUserTable.setLog(new SimpleLog("MockLog"));
virtualUserTable.setDataSource(TestUtil.getDataSource());
virtualUserTable.setFileSystem(new MockFileSystem());
DefaultConfigurationBuilder defaultConfiguration = new DefaultConfigurationBuilder();
defaultConfiguration.addProperty("[@destinationURL]","db://maildb/VirtualUserTable");
defaultConfiguration.addProperty("sqlFile","file://conf/sqlResources.xml");
virtualUserTable.configure(defaultConfiguration);
virtualUserTable.init();
return virtualUserTable;
}