### Question:
ReplicationStatus extends Status implements Serializable { public List<History> getHistory() { return history; }  boolean isNoChanges(); String getSessionId(); String getId(); String getSourceLastSequence(); JsonNode getSourceLastSequenceAsNode(); List<History> getHistory();  }### Answer:
@Test public void recordedSeq_as_number() throws Exception { ObjectMapper mapper = new ObjectMapper(); ReplicationStatus rs = loadReplicationStatusFromResource(mapper, "replication_response_string_recorded_seq.json"); Assert.assertNotNull(rs.getHistory()); Assert.assertNotNull(rs.getHistory().get(0)); Assert.assertTrue(rs.getHistory().get(0).getRecordedSeq().length() > 10); }
@Test public void recordedSeq_as_string() throws Exception { ObjectMapper mapper = new ObjectMapper(); ReplicationStatus rs = loadReplicationStatusFromResource(mapper, "replication_response_number_recorded_seq.json"); Assert.assertNotNull(rs.getHistory()); Assert.assertNotNull(rs.getHistory().get(0)); String recordedSeq = rs.getHistory().get(0).getRecordedSeq(); Assert.assertEquals("4", recordedSeq); }