- byte[] shard1Snapshot = new byte[]{1,2,3};
- replyActor.tell(new GetSnapshotReply(ShardIdentifier.builder().memberName("member-1").type("config").
- shardName("shard1").build().toString(), shard1Snapshot), ActorRef.noSender());
+ ByteState shard1SnapshotState = ByteState.of(new byte[]{1,2,3});
+ replyActor.tell(new GetSnapshotReply(ShardIdentifier.create("shard1", MEMBER_1, "config").toString(),
+ Snapshot.create(shard1SnapshotState, Collections.<ReplicatedLogEntry>emptyList(),
+ 2, 1, 2, 1, 1, "member-1", null)), ActorRef.noSender());