### Question:
FullPrunedBlockChain extends AbstractBlockChain { public void setRunScripts(boolean value) { this.runScripts = value; } FullPrunedBlockChain(NetworkParameters params, Wallet wallet, FullPrunedBlockStore blockStore);  FullPrunedBlockChain(NetworkParameters params, FullPrunedBlockStore blockStore);  FullPrunedBlockChain(NetworkParameters params, List<BlockChainListener> listeners,
                                FullPrunedBlockStore blockStore); void setRunScripts(boolean value);  }### Answer:
@Test public void skipScripts() throws Exception { store = new MemoryFullPrunedBlockStore(params, 10); chain = new FullPrunedBlockChain(params, store); ECKey outKey = new ECKey(); Block rollingBlock = params.getGenesisBlock().createNextBlockWithCoinbase(outKey.getPubKey()); chain.add(rollingBlock); TransactionOutput spendableOutput = rollingBlock.getTransactions().get(0).getOutput(0); for (int i = 1; i < params.getSpendableCoinbaseDepth(); i++) { rollingBlock = rollingBlock.createNextBlockWithCoinbase(outKey.getPubKey()); chain.add(rollingBlock); } rollingBlock = rollingBlock.createNextBlock(null); Transaction t = new Transaction(params); t.addOutput(new TransactionOutput(params, t, Utils.toNanoCoins(50, 0), new byte[] {})); TransactionInput input = t.addInput(spendableOutput); input.setScriptBytes(new byte[]{}); rollingBlock.addTransaction(t); rollingBlock.solve(); chain.setRunScripts(false); try { chain.add(rollingBlock); } catch (VerificationException e) { fail(); } }