JDBCRecipientRewriteTable localVirtualUserTable = new JDBCRecipientRewriteTable();
localVirtualUserTable.setLog(LoggerFactory.getLogger("MockLog"));
localVirtualUserTable.setDataSource(getDataSource());
localVirtualUserTable.setFileSystem(new MockFileSystem());
DefaultConfigurationBuilder defaultConfiguration = new DefaultConfigurationBuilder();
defaultConfiguration.addProperty("[@destinationURL]", "db://maildb/RecipientRewriteTable");
defaultConfiguration.addProperty("sqlFile", "file://conf/sqlResources.xml");
localVirtualUserTable.configure(defaultConfiguration);
localVirtualUserTable.init();
return localVirtualUserTable;
}