.withRemoteMembers(new Member("bar"), new Member("baz")), "Hello world!".getBytes()));
assertEquals(log.firstIndex(), 3);
assertEquals(log.lastIndex(), 5);
SnapshotEntry entry = log.getEntry(3);
assertEquals(entry.term(), 1);
assertEquals("Hello world!", new String(entry.data()));
OperationEntry entry2 = log.getEntry(4);
assertEquals(entry2.term(), 1);
assertEquals("bar", entry2.operation());
OperationEntry entry3 = log.getEntry(5);