@@ -0,0 +1,1133 @@
+package org.hyperledger.indy.sdk.pool;%0A%0Aimport org.hyperledger.indy.sdk.ErrorCode;%0Aimport org.hyperledger.indy.sdk.ErrorCodeMatcher;%0Aimport org.hyperledger.indy.sdk.IndyException;%0Aimport org.hyperledger.indy.sdk.IndyIntegrationTest;%0Aimport org.hyperledger.indy.sdk.utils.PoolUtils;%0Aimport org.junit.Test;%0A%0Aimport java.io.IOException;%0Aimport java.util.concurrent.ExecutionException;%0A%0Aimport static org.junit.Assert.assertNotNull;%0A%0Apublic class DeletePoolTest extends IndyIntegrationTest %7B%0A%0A%09@Test%0A%09public void testDeletePoolWorks() throws InterruptedException, ExecutionException, IndyException, IOException %7B%0A%09%09String poolName = PoolUtils.createPoolLedgerConfig();%0A%09%09Pool.deletePoolLedgerConfig(poolName).get();%0A%09%7D%0A%0A%09@Test%0A%09public void testDeletePoolWorksForOpened() throws InterruptedException, ExecutionException, IndyException, IOException %7B%0A%09%09thrown.expectCause(new ErrorCodeMatcher(ErrorCode.CommonInvalidState));%0A%0A%09%09String poolName = PoolUtils.createPoolLedgerConfig();%0A%09%09Pool pool = Pool.openPoolLedger(poolName, null).get();%0A%09%09assertNotNull(pool);%0A%09%09openedPools.add(pool);%0A%09%09Pool.deletePoolLedgerConfig(poolName).get();%0A%09%7D%0A%7D%0A

Add DeletePoolTest.