@Test(expected = Exception.class) public void withOptions_without_calling_fill_rises_exception() { builder.withOptions(Mockito.mock(FillOption.class)); }
public FillConfig withOptions(FillOption... options) { this.options = Arrays.asList(options); return this.build(); }
AutoFillerBuilder { public FillConfig withOptions(FillOption... options) { this.options = Arrays.asList(options); return this.build(); } }
AutoFillerBuilder { public FillConfig withOptions(FillOption... options) { this.options = Arrays.asList(options); return this.build(); } AutoFillerBuilder(TargetScreen targetScreen); }
AutoFillerBuilder { public FillConfig withOptions(FillOption... options) { this.options = Arrays.asList(options); return this.build(); } AutoFillerBuilder(TargetScreen targetScreen); AutoFillerBuilder fill(int... ids); FillConfig withOptions(FillOption... options); FillConfig withoutOptions(); }
AutoFillerBuilder { public FillConfig withOptions(FillOption... options) { this.options = Arrays.asList(options); return this.build(); } AutoFillerBuilder(TargetScreen targetScreen); AutoFillerBuilder fill(int... ids); FillConfig withOptions(FillOption... options); FillConfig withoutOptions();  }