test_class.file: app/src/test/java/derpibooru/derpy/ui/views/htmltextview/imageactions/HtmlImageActionCreatorTest.java
test_class.identifier: HtmlImageActionCreatorTest
test_case.body: @Test
      public void testGetImageActionElement() {
          String link = "{action_string_representation}";
          Element element = HtmlImageActionCreator.getImageActionElement(link);
  
          assertThat(element.tag().getName(), is("a"));
          assertThat(element.attr("href"), is(link));
          assertThat(element.children().size(), is(1));
          assertThat(element.children().first().tag().getName(), is("img"));
          assertThat(element.children().first().attr("src"), is(link));
      }
test_case.class_method_signature: HtmlImageActionCreatorTest.testGetImageActionElement()
test_case.full_signature: @Test public void testGetImageActionElement()
test_case.identifier: testGetImageActionElement
test_case.invocations: getImageActionElement assertThat getName tag is assertThat attr is assertThat size children is assertThat getName tag first children is assertThat attr first children is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetImageActionElement()
focal_class.file: app/src/main/java/derpibooru/derpy/ui/views/htmltextview/imageactions/HtmlImageActionCreator.java
focal_class.identifier: HtmlImageActionCreator
focal_class.class_method_signature: HtmlImageActionCreator.getImageActionElement(String imageActionStringRepresentation)
focal_class.full_signature: public static Element getImageActionElement(String imageActionStringRepresentation)
focal_class.identifier: getImageActionElement
focal_class.modifiers: public static
focal_class.parameters: (String imageActionStringRepresentation)
focal_class.return: Element
focal_class.signature: Element getImageActionElement(String imageActionStringRepresentation)
focal_method.body: public static Element getImageActionElement(String imageActionStringRepresentation) {
          return new Element(Tag.valueOf("a"), "")
                  .attr("href", imageActionStringRepresentation)
                  .appendChild(
                          new Element(Tag.valueOf("img"), "")
                                  .attr("src", imageActionStringRepresentation));
      }
focal_method.class_method_signature: HtmlImageActionCreator.getImageActionElement(String imageActionStringRepresentation)
focal_method.full_signature: public static Element getImageActionElement(String imageActionStringRepresentation)
focal_method.identifier: getImageActionElement
focal_method.invocations: appendChild attr valueOf attr valueOf
focal_method.modifiers: public static
focal_method.parameters: (String imageActionStringRepresentation)
focal_method.return: Element
focal_method.signature: Element getImageActionElement(String imageActionStringRepresentation)