test_class.file: src/de/slackspace/openkeepass/domain/KeyTest.java
test_class.identifier: KeyTest
test_case.body: @Test
      public void shouldMarshallObjectToXml() throws Exception {
          Key key = new Key();
          key.setData("someData");
  
          ByteArrayOutputStream bos = new SimpleXmlParser().toXml(key);
  
          String xml = XmlStringCleaner.cleanXmlString(new String(bos.toByteArray()));
          Assert.assertEquals("<Key><Data>someData</Data></Key>", xml);
      }
test_case.class_method_signature: KeyTest.shouldMarshallObjectToXml()
test_case.full_signature: @Test public void shouldMarshallObjectToXml()
test_case.identifier: shouldMarshallObjectToXml
test_case.invocations: setData toXml cleanXmlString toByteArray assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldMarshallObjectToXml()
focal_class.declarator: data
focal_class.modifier: @Element(name = "Data")
      private
focal_class.original_string: @Element(name = "Data")
      private String data;
focal_class.type: String
focal_class.var_name: data
focal_class.file: src/de/slackspace/openkeepass/domain/Key.java
focal_class.identifier: Key
focal_class.class_method_signature: Key.getData()
focal_class.full_signature: public String getData()
focal_class.identifier: getData
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getData()
focal_class.class_method_signature: Key.setData(String data)
focal_class.full_signature: public void setData(String data)
focal_class.identifier: setData
focal_class.modifiers: public
focal_class.parameters: (String data)
focal_class.return: void
focal_class.signature: void setData(String data)
focal_method.body: public void setData(String data) {
          this.data = data;
      }
focal_method.class_method_signature: Key.setData(String data)
focal_method.full_signature: public void setData(String data)
focal_method.identifier: setData
focal_method.modifiers: public
focal_method.parameters: (String data)
focal_method.return: void
focal_method.signature: void setData(String data)