// }
private void assertDataset(String datasetlocation) throws Exception {
String tablename1 = "book";
IDataSet actualDataSet = new DefaultDatabaseTester(
new DatabaseConnection(_jdo.getConnectionFactory()
.createConnection())).getConnection().createDataSet(
new String[] { tablename1 });
IDataSet expectedDataSet = new XmlDataSet(new FileInputStream(
getClass().getResource(datasetlocation).getFile()));
Assertion.assertEquals(expectedDataSet, actualDataSet);