* Test adding and getting a pool
*/
@Test
public void addGetPool() {
Pool pool1, pool2;
pool1 = new Pool();
pool1.name = "Test pool #1";
pool1.description = "A first test pool.";
pool1.default_type = "assignment";
pool1.ipv4_default_prefix_length = 28;
pool1.ipv6_default_prefix_length = 64;
try {
pool1.save(this.connection);
pool2 = Pool.get(this.connection, pool1.id);
} catch (JnipapException e) {
fail("Operation resulted in " + e.getClass().getName() + " with message \"" + e.getMessage() + "\"");
return;
}