test_class.declarator: ONE_KILO = 1024
test_class.modifier: private static final
test_class.original_string: private static final int ONE_KILO = 1024;
test_class.type: int
test_class.var_name: ONE_KILO
test_class.file: http/src/test/java/ro/polak/http/servlet/ChunkedPrintWriterTest.java
test_class.identifier: ChunkedPrintWriterTest
test_case.body: @Test
      public void shouldSerializeDataProperly() {
          ByteArrayOutputStream out = new ByteArrayOutputStream(ONE_KILO);
          ChunkedPrintWriter printWriter = new ChunkedPrintWriter(out);
  
          printWriter.print("Wiki");
          printWriter.print("pedia");
          printWriter.print(" in\r\n\r\nchunks.");
          printWriter.writeEnd();
          printWriter.flush();
          assertThat(new String(out.toByteArray()), is("4\r\nWiki\r\n5\r\npedia\r\nE\r\n in\r\n\r\nchunks.\r\n0\r\n\r\n"));
      }
test_case.class_method_signature: ChunkedPrintWriterTest.shouldSerializeDataProperly()
test_case.full_signature: @Test public void shouldSerializeDataProperly()
test_case.identifier: shouldSerializeDataProperly
test_case.invocations: print print print writeEnd flush assertThat toByteArray is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldSerializeDataProperly()
focal_class.declarator: NEW_LINE = "\r\n"
focal_class.modifier: private static final
focal_class.original_string: private static final String NEW_LINE = "\r\n";
focal_class.type: String
focal_class.var_name: NEW_LINE
focal_class.declarator: END_LINE = "0\r\n\r\n"
focal_class.modifier: private static final
focal_class.original_string: private static final String END_LINE = "0\r\n\r\n";
focal_class.type: String
focal_class.var_name: END_LINE
focal_class.file: http/src/main/java/ro/polak/http/servlet/ChunkedPrintWriter.java
focal_class.identifier: ChunkedPrintWriter
focal_class.class_method_signature: ChunkedPrintWriter.ChunkedPrintWriter(final OutputStream out)
focal_class.full_signature: public  ChunkedPrintWriter(final OutputStream out)
focal_class.identifier: ChunkedPrintWriter
focal_class.modifiers: public
focal_class.parameters: (final OutputStream out)
focal_class.signature:  ChunkedPrintWriter(final OutputStream out)
focal_class.class_method_signature: ChunkedPrintWriter.println()
focal_class.full_signature: @Override public void println()
focal_class.identifier: println
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void println()
focal_class.class_method_signature: ChunkedPrintWriter.write(final String str)
focal_class.full_signature: @Override public void write(final String str)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (final String str)
focal_class.return: void
focal_class.signature: void write(final String str)
focal_class.class_method_signature: ChunkedPrintWriter.writeEnd()
focal_class.full_signature: @Override public void writeEnd()
focal_class.identifier: writeEnd
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void writeEnd()
focal_class.superclass: extends ServletPrintWriter
focal_method.body: @Override
      public void writeEnd() {
          super.writeEnd();
          super.write(END_LINE);
      }
focal_method.class_method_signature: ChunkedPrintWriter.writeEnd()
focal_method.full_signature: @Override public void writeEnd()
focal_method.identifier: writeEnd
focal_method.invocations: writeEnd write
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void writeEnd()