ModifyTransactionRequest extends TransactionRequest<ModifyTransactionRequest> implements SliceableMessage { public Optional<PersistenceProtocol> getPersistenceProtocol() { return Optional.ofNullable(protocol); } ModifyTransactionRequest(final TransactionIdentifier target, final long sequence, final ActorRef replyTo,
        final List<TransactionModification> modifications, final PersistenceProtocol protocol); Optional<PersistenceProtocol> getPersistenceProtocol(); List<TransactionModification> getModifications();  }
@Test public void getPersistenceProtocolTest() { final Optional<PersistenceProtocol> result = OBJECT.getPersistenceProtocol(); Assert.assertTrue(result.isPresent()); Assert.assertEquals(PROTOCOL, result.get()); }