@Test public void testRendersSpeedBackward() throws IOException { lifeCycleAdapter.preserveValues(video); video.fastBackward(-2); lifeCycleAdapter.renderChanges(video); JsonObject properties = MessageUtil.getOperationProperties(WidgetUtil.getId(video), SET, null); assertEquals(-2, properties.get(keyForEnum(PlaybackOptions.SPEED)).asDouble(), 0); }