@Test
  public void testRendersRepeat() throws IOException {
    lifeCycleAdapter.preserveValues(video);

    video.setRepeat(true);
    lifeCycleAdapter.renderChanges(video);

    JsonObject properties = MessageUtil.getOperationProperties(WidgetUtil.getId(video), SET, null);
    assertTrue(properties.get(keyForEnum(PlaybackOptions.REPEAT)).asBoolean());
  }