AbstractViewHolder { public void setDuration(float duration) { this.duration = duration; }  void animate(float time); void setView(View view); void setDelay(float delay); void setDuration(float duration); View getView(); float getDelay(); float getDuration(); abstract void onFinish(boolean done);  }
@Test public void testSetDuration() throws Exception { float duration = 200; mViewHolder.setDuration(duration); assertEquals(duration, mViewHolder.getDuration(), 0); }