@SuppressWarnings("ConstantConditions")
@Test
public void addPaymentListener_NullListener_IllegalArgumentException() throws Exception {

    expectedEx.expect(IllegalArgumentException.class);
    expectedEx.expectMessage("listener");
    blockchainEvents.addPaymentListener(null);
}