ConnectClientSuccess extends RequestSuccess<ClientIdentifier, ConnectClientSuccess> { public Optional<ReadOnlyDataTree> getDataTree() { return Optional.ofNullable(dataTree); } ConnectClientSuccess(final ClientIdentifier target, final long sequence, final ActorRef backend,
        final List<ActorSelection> alternates, final int maxMessages, final ReadOnlyDataTree dataTree);  ConnectClientSuccess(final @NonNull ClientIdentifier target, final long sequence,
            final @NonNull ActorRef backend, final @NonNull List<ActorSelection> alternates,
            final @NonNull ReadOnlyDataTree dataTree, final int maxMessages); @NonNull List<ActorSelection> getAlternates(); @NonNull ActorRef getBackend(); Optional<ReadOnlyDataTree> getDataTree(); int getMaxMessages();  }
@Test public void testGetDataTree() { final ReadOnlyDataTree tree = OBJECT.getDataTree().get(); Assert.assertEquals(TREE, tree); }