test_class.file: expectit-core/src/test/java/net/sf/expectit/UtilsTest.java
test_class.identifier: UtilsTest
test_case.body: @Test
      public void testDebugString() {
          assertEquals(toDebugString(null), "null");
          assertEquals(toDebugString((Object) null), "null");
          assertEquals(toDebugString("ABC"), "ABC");
          final char[] chars = new char[1000];
          Arrays.fill(chars, 'x');
          final int length = toDebugString(String.valueOf(chars)).length();
          assertEquals(length, Utils.MAX_STRING_LENGTH + 22);
          assertEquals(toDebugString("ab\n\r"), "ab\\n\\r");
          final String utfString = toDebugString("abcdef".getBytes(), 4, Charsets.UTF_16);
          assertEquals(utfString.length(), 2);
          final String defaultStirng = toDebugString("abcdef".getBytes(), 3, null);
          assertEquals(defaultStirng, "abc");
      }
test_case.class_method_signature: UtilsTest.testDebugString()
test_case.full_signature: @Test public void testDebugString()
test_case.identifier: testDebugString
test_case.invocations: assertEquals toDebugString assertEquals toDebugString assertEquals toDebugString fill length toDebugString valueOf assertEquals assertEquals toDebugString toDebugString getBytes assertEquals length toDebugString getBytes assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDebugString()
focal_class.declarator: MAX_STRING_LENGTH = 200
focal_class.modifier: static final
focal_class.original_string: static final int MAX_STRING_LENGTH = 200;
focal_class.type: int
focal_class.var_name: MAX_STRING_LENGTH
focal_class.file: expectit-core/src/main/java/net/sf/expectit/Utils.java
focal_class.identifier: Utils
focal_class.class_method_signature: Utils.Utils()
focal_class.full_signature: private  Utils()
focal_class.identifier: Utils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Utils()
focal_class.class_method_signature: Utils.toDebugString(final byte[] bytes, final int len, final Charset charset)
focal_class.full_signature: static String toDebugString(final byte[] bytes, final int len, final Charset charset)
focal_class.identifier: toDebugString
focal_class.modifiers: static
focal_class.parameters: (final byte[] bytes, final int len, final Charset charset)
focal_class.return: String
focal_class.signature: String toDebugString(final byte[] bytes, final int len, final Charset charset)
focal_class.class_method_signature: Utils.toDebugString(final String string)
focal_class.full_signature: static String toDebugString(final String string)
focal_class.identifier: toDebugString
focal_class.modifiers: static
focal_class.parameters: (final String string)
focal_class.return: String
focal_class.signature: String toDebugString(final String string)
focal_class.class_method_signature: Utils.toDebugString(final Object object)
focal_class.full_signature: static String toDebugString(final Object object)
focal_class.identifier: toDebugString
focal_class.modifiers: static
focal_class.parameters: (final Object object)
focal_class.return: String
focal_class.signature: String toDebugString(final Object object)
focal_class.class_method_signature: Utils.flushAppendable(final Appendable appendable)
focal_class.full_signature: static void flushAppendable(final Appendable appendable)
focal_class.identifier: flushAppendable
focal_class.modifiers: static
focal_class.parameters: (final Appendable appendable)
focal_class.return: void
focal_class.signature: void flushAppendable(final Appendable appendable)
focal_method.body: static String toDebugString(final byte[] bytes, final int len, final Charset charset) {
          if (charset == null) {
              return toDebugString(new String(bytes, 0, len, Charset.defaultCharset()));
          }
          return toDebugString(new String(bytes, 0, len, charset));
      }
focal_method.class_method_signature: Utils.toDebugString(final byte[] bytes, final int len, final Charset charset)
focal_method.full_signature: static String toDebugString(final byte[] bytes, final int len, final Charset charset)
focal_method.identifier: toDebugString
focal_method.invocations: toDebugString defaultCharset toDebugString
focal_method.modifiers: static
focal_method.parameters: (final byte[] bytes, final int len, final Charset charset)
focal_method.return: String
focal_method.signature: String toDebugString(final byte[] bytes, final int len, final Charset charset)