### Question:
KinesisEvent { public Long getServerTimestamp() { return serverTimestamp; } KinesisEvent(); void parseFromJson(final ObjectMapper jsonParser, final String rawJson); String getRawJson(); String getProcessedJson(); @Override String toString(); boolean isRequiredSanitization(); List<String> getSanitizedFields(); String getAppName(); void setAppName(String appName); String getAppVersion(); void setAppVersion(String appVersion); String getEventVersion(); void setEventVersion(String eventVersion); String getEventId(); void setEventId(String eventId); String getEventType(); void setEventType(String eventType); Long getEventTimestamp(); void setEventTimestamp(Long eventTimestamp); String getClientId(); void setClientId(String clientId); String getLevelId(); void setLevelId(String levelId); Double getPositionX(); void setPositionX(Double positionX); Double getPositionY(); void setPositionY(Double positionY); String getShardId(); void setShardId(String shardId); String getPartitionKey(); void setPartitionKey(String partitionKey); String getSequenceNumber(); void setSequenceNumber(String sequenceNumber); Long getServerTimestamp(); void setServerTimestamp(Long serverArrivalTimestamp); static final String APP_NAME_JSON_KEY; static final String APP_VERSION_JSON_KEY; static final String EVENT_VERSION_JSON_KEY; static final String EVENT_ID_JSON_KEY; static final String EVENT_TYPE_JSON_KEY; static final String EVENT_TIMESTAMP_JSON_KEY; static final String CLIENT_ID_JSON_KEY; static final String LEVEL_ID_JSON_KEY; static final String POSITION_X_JSON_KEY; static final String POSITION_Y_JSON_KEY; static final String SERVER_TIMESTAMP_JSON_KEY; static final int APP_NAME_MAX_LENGTH; static final int APP_VERSION_MAX_LENGTH; static final int EVENT_VERSION_MAX_LENGTH; static final int EVENT_ID_MAX_LENGTH; static final int EVENT_TYPE_MAX_LENGTH; static final int CLIENT_ID_MAX_LENGTH; static final int LEVEL_ID_MAX_LENGTH; static final String RESTRICTED_CHARSET_REGEX; static final Pattern RESTRICTED_CHARSET; }### Answer:
@Test public void testEnrichment() { String sampleEvent = "{\"event_version\":\"1.0\"," + "\"position_x\":556," + "\"app_name\":\"SampleGame\"," + "\"client_id\":\"d57faa2b-9bfd-4502-a7b7-a43cb365f8f2\"," + "\"position_y\":521," + "\"event_id\":\"91650ce5-825a-4e90-ab22-174a4fb2da79\"," + "\"level_id\":\"test_level\"," + "\"app_version\":\"1.0.0\"," + "\"event_timestamp\":1508872163135," + "\"event_type\":\"test_event\"}"; KinesisEvent event = parseEventEnforceSuccess(sampleEvent); JsonNode jsonRoot = eventProcessedJsonToJsonNode(event); Assert.assertNotNull(jsonRoot.get(KinesisEvent.SERVER_TIMESTAMP_JSON_KEY)); Assert.assertEquals(event.getServerTimestamp().longValue(), jsonRoot.get(KinesisEvent.SERVER_TIMESTAMP_JSON_KEY).asLong()); }