@Test public void buildAroundViewTest() { View mMock = Mockito.mock(View.class); mBuilderToTest.buildAroundView(mMock); verify(mCoachmarkViewMock, times(1)).setView(mMock); }
public CoachmarkView buildAroundView(View view) { mCoachmarkView.setView(view); return mCoachmarkView; }
CoachmarkViewBuilder { public CoachmarkView buildAroundView(View view) { mCoachmarkView.setView(view); return mCoachmarkView; } }
CoachmarkViewBuilder { public CoachmarkView buildAroundView(View view) { mCoachmarkView.setView(view); return mCoachmarkView; } CoachmarkViewBuilder(Context context); }
CoachmarkViewBuilder { public CoachmarkView buildAroundView(View view) { mCoachmarkView.setView(view); return mCoachmarkView; } CoachmarkViewBuilder(Context context); CoachmarkViewBuilder withButtonRenderer(ButtonRenderer renderer); CoachmarkView buildAroundView(View view); CoachmarkView build(); CoachmarkViewBuilder withBackgroundColor(int color); CoachmarkViewBuilder withActionDescriptionRenderers(ActionDescriptionRenderer... renderers); CoachmarkViewBuilder withDescriptionRenderer(DescriptionRenderer renderer); CoachmarkViewBuilder withActionDescription(View actionDescription); CoachmarkViewBuilder withDescription(View description); CoachmarkViewBuilder withPaddingAroundCircle(int padding); CoachmarkViewBuilder withCircleColor(int color); CoachmarkViewBuilder withAnimationRenderer(AnimationRenderer renderer); }
CoachmarkViewBuilder { public CoachmarkView buildAroundView(View view) { mCoachmarkView.setView(view); return mCoachmarkView; } CoachmarkViewBuilder(Context context); CoachmarkViewBuilder withButtonRenderer(ButtonRenderer renderer); CoachmarkView buildAroundView(View view); CoachmarkView build(); CoachmarkViewBuilder withBackgroundColor(int color); CoachmarkViewBuilder withActionDescriptionRenderers(ActionDescriptionRenderer... renderers); CoachmarkViewBuilder withDescriptionRenderer(DescriptionRenderer renderer); CoachmarkViewBuilder withActionDescription(View actionDescription); CoachmarkViewBuilder withDescription(View description); CoachmarkViewBuilder withPaddingAroundCircle(int padding); CoachmarkViewBuilder withCircleColor(int color); CoachmarkViewBuilder withAnimationRenderer(AnimationRenderer renderer);  }