test_class.file: src/de/slackspace/openkeepass/domain/BinaryTest.java
test_class.identifier: BinaryTest
test_case.body: @Test
      public void shouldMarshallObjectToXml() throws Exception {
          Binary binary = new BinaryBuilder()
                  .id(5)
                  .data(new byte[10])
                  .isCompressed(true)
                  .build();
  
          ByteArrayOutputStream bos = new SimpleXmlParser().toXml(binary);
  
          String xml = XmlStringCleaner.cleanXmlString(new String(bos.toByteArray()));
          Assert.assertEquals("<Binary ID='5' Compressed='True'>H4sIAAAAAAAAAGNggAEAdmiK4woAAAA=</Binary>", xml);
      }
test_case.class_method_signature: BinaryTest.shouldMarshallObjectToXml()
test_case.full_signature: @Test public void shouldMarshallObjectToXml()
test_case.identifier: shouldMarshallObjectToXml
test_case.invocations: build isCompressed data id toXml cleanXmlString toByteArray assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldMarshallObjectToXml()
focal_class.declarator: id
focal_class.modifier: @Attribute(name = "ID")
      private
focal_class.original_string: @Attribute(name = "ID")
      private int id;
focal_class.type: int
focal_class.var_name: id
focal_class.declarator: isCompressed
focal_class.modifier: @Attribute(name = "Compressed")
      private
focal_class.original_string: @Attribute(name = "Compressed")
      private Boolean isCompressed;
focal_class.type: Boolean
focal_class.var_name: isCompressed
focal_class.declarator: data
focal_class.modifier: @Text
      private
focal_class.original_string: @Text
      private byte[] data;
focal_class.type: byte[]
focal_class.var_name: data
focal_class.file: src/de/slackspace/openkeepass/domain/Binary.java
focal_class.identifier: Binary
focal_class.class_method_signature: Binary.Binary()
focal_class.full_signature:   Binary()
focal_class.identifier: Binary
focal_class.parameters: ()
focal_class.signature:  Binary()
focal_class.class_method_signature: Binary.Binary(BinaryContract binaryContract)
focal_class.full_signature: public  Binary(BinaryContract binaryContract)
focal_class.identifier: Binary
focal_class.modifiers: public
focal_class.parameters: (BinaryContract binaryContract)
focal_class.signature:  Binary(BinaryContract binaryContract)
focal_class.class_method_signature: Binary.getId()
focal_class.full_signature: public int getId()
focal_class.identifier: getId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getId()
focal_class.class_method_signature: Binary.isCompressed()
focal_class.full_signature: public boolean isCompressed()
focal_class.identifier: isCompressed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isCompressed()
focal_class.class_method_signature: Binary.getData()
focal_class.full_signature: public byte[] getData()
focal_class.identifier: getData
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] getData()
focal_class.class_method_signature: Binary.decompressData()
focal_class.full_signature: private byte[] decompressData()
focal_class.identifier: decompressData
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] decompressData()
focal_class.class_method_signature: Binary.compressData(BinaryContract binaryContract)
focal_class.full_signature: private byte[] compressData(BinaryContract binaryContract)
focal_class.identifier: compressData
focal_class.modifiers: private
focal_class.parameters: (BinaryContract binaryContract)
focal_class.return: byte[]
focal_class.signature: byte[] compressData(BinaryContract binaryContract)
focal_class.class_method_signature: Binary.hashCode()
focal_class.full_signature: @Override public final int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: Binary.equals(Object obj)
focal_class.full_signature: @Override public final boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public final
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_method.body: public boolean isCompressed() {
          if (isCompressed == null) {
              return false;
          }
          return isCompressed;
      }
focal_method.class_method_signature: Binary.isCompressed()
focal_method.full_signature: public boolean isCompressed()
focal_method.identifier: isCompressed
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isCompressed()