@Test public void appendTabs_A$StringBuilder$int_intIs2() throws Exception { LineBreakProvider lineBreakProvider = new LineBreakProvider(config, currentLineBreak); SourceCodeAppender target = new SourceCodeAppender(lineBreakProvider, indentationProvider); StringBuilder buf = new StringBuilder(); int times = 2; target.appendTabs(buf, times); }
void appendTabs(StringBuilder buf, int times) { Assertion.on("buf").mustNotBeNull(buf); Assertion.on("times").mustBeGreaterThanOrEqual(times, 0); for (int i = 0; i < times; i++) { buf.append(indentationProvider.getIndentation()); } }
SourceCodeAppender { void appendTabs(StringBuilder buf, int times) { Assertion.on("buf").mustNotBeNull(buf); Assertion.on("times").mustBeGreaterThanOrEqual(times, 0); for (int i = 0; i < times; i++) { buf.append(indentationProvider.getIndentation()); } } }
SourceCodeAppender { void appendTabs(StringBuilder buf, int times) { Assertion.on("buf").mustNotBeNull(buf); Assertion.on("times").mustBeGreaterThanOrEqual(times, 0); for (int i = 0; i < times; i++) { buf.append(indentationProvider.getIndentation()); } } SourceCodeAppender(LineBreakProvider lineBreakProvider, IndentationProvider indentationProvider); }
SourceCodeAppender { void appendTabs(StringBuilder buf, int times) { Assertion.on("buf").mustNotBeNull(buf); Assertion.on("times").mustBeGreaterThanOrEqual(times, 0); for (int i = 0; i < times; i++) { buf.append(indentationProvider.getIndentation()); } } SourceCodeAppender(LineBreakProvider lineBreakProvider, IndentationProvider indentationProvider);  }
SourceCodeAppender { void appendTabs(StringBuilder buf, int times) { Assertion.on("buf").mustNotBeNull(buf); Assertion.on("times").mustBeGreaterThanOrEqual(times, 0); for (int i = 0; i < times; i++) { buf.append(indentationProvider.getIndentation()); } } SourceCodeAppender(LineBreakProvider lineBreakProvider, IndentationProvider indentationProvider);   }