@Test
  public void givenBoundAttribute_whenUpdatingProgress_thenEventReceived() {
    bindAttribute();

    int newProgressValue = RandomValues.anyInteger();
    updateProgressOnSeekBar(newProgressValue);

    assertEventReceived(newProgressValue);
  }
  @Test
  public void whenUpdateView_thenViewShouldReflectChanges() {
    Integer newInteger = RandomValues.nextInt(5);

    for (int i = 0; i < 5; i++) view.addView(new TextView(view.getContext()));

    attribute.updateView(view, newInteger);

    assertThat(view.getDisplayedChild(), equalTo(newInteger));
  }
 public void changeProperty1() {
   property1Value = RandomValues.trueOrFalse();
   firePropertyChange(PROPERTY1);
 }