### Question:
StaggeredAnimationGroup extends Group { public final void setPartialDuration(int partialDuration) { this.partialDuration = partialDuration; } StaggeredAnimationGroup(Context context);  StaggeredAnimationGroup(Context context, AttributeSet attrs);  StaggeredAnimationGroup(Context context, AttributeSet attrs, int defStyleAttr); final void show(); final void show(boolean inReversedOrder); final void hide(); final void hide(boolean inReversedOrder); final void setPartialTransitionFactory(@NonNull PartialTransitionFactory factory); final void clearPartialTransitionFactory(); final void setOnTransitionPreparedListener(@NonNull OnTransitionPreparedListener listener); final void clearOnTransitionPreparedListener(); final void setPartialDuration(int partialDuration); final void setPartialDelay(int partialDelay); final void setPartialInterpolator(TimeInterpolator partialInterpolator);  }### Answer:
@Test public void partialDuration_isModified_when_setPartialDuration_isCalled() { StaggeredAnimationGroup spiedGroup = prepareSpiedGroup(); int testDuration = 100; spiedGroup.setPartialDuration(testDuration); assertThat(spiedGroup.partialDuration).isEqualTo(testDuration); }