@Test public void withButtonRendererTest() throws Exception { ButtonRenderer rendererMock = Mockito.mock(ButtonRenderer.class); mBuilderToTest.withButtonRenderer(rendererMock); verify(mCoachmarkViewMock, times(1)).setButtonRenderer(rendererMock); }
public CoachmarkViewBuilder withButtonRenderer(ButtonRenderer renderer) { mCoachmarkView.setButtonRenderer(renderer); return this; }
CoachmarkViewBuilder { public CoachmarkViewBuilder withButtonRenderer(ButtonRenderer renderer) { mCoachmarkView.setButtonRenderer(renderer); return this; } }
CoachmarkViewBuilder { public CoachmarkViewBuilder withButtonRenderer(ButtonRenderer renderer) { mCoachmarkView.setButtonRenderer(renderer); return this; } CoachmarkViewBuilder(Context context); }
CoachmarkViewBuilder { public CoachmarkViewBuilder withButtonRenderer(ButtonRenderer renderer) { mCoachmarkView.setButtonRenderer(renderer); return this; } 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 CoachmarkViewBuilder withButtonRenderer(ButtonRenderer renderer) { mCoachmarkView.setButtonRenderer(renderer); return this; } 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);  }