@Test(expected = IllegalArgumentException.class)
public void testAddShouldThrowException() {

    TransactionsPool transactionsProcessed = new TransactionsPool();
    transactionsProcessed.addBlock(null);
}