@@ -0,0 +1,1749 @@
+package org.zwobble.mammoth.tests.conversion;%0A%0Aimport org.junit.jupiter.api.Test;%0Aimport org.zwobble.mammoth.internal.conversion.RawText;%0Aimport org.zwobble.mammoth.internal.documents.Break;%0Aimport org.zwobble.mammoth.internal.documents.Document;%0Aimport org.zwobble.mammoth.internal.documents.DocumentElement;%0Aimport org.zwobble.mammoth.internal.documents.Text;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.equalTo;%0Aimport static org.zwobble.mammoth.tests.documents.DocumentElementMakers.*;%0A%0Apublic class RawTextTests %7B%0A    @Test%0A    public void textElementIsConvertedToTextContent() %7B%0A        DocumentElement element = new Text(%22Hello.%22);%0A%0A        String result = RawText.extractRawText(element);%0A%0A        assertThat(result, equalTo(%22Hello.%22));%0A    %7D%0A%0A    @Test%0A    public void paragraphsAreTerminatedWithNewlines() %7B%0A        DocumentElement element = paragraph(%0A            withChildren(new Text(%22Hello %22), new Text(%22world.%22))%0A        );%0A%0A        String result = RawText.extractRawText(element);%0A%0A        assertThat(result, equalTo(%22Hello world.%5Cn%5Cn%22));%0A    %7D%0A%0A    @Test%0A    public void childrenAreRecursivelyConvertedToText() %7B%0A        Document element = document(%0A            withChildren(%0A                paragraph(%0A                    withChildren(new Text(%22Hello %22), new Text(%22world.%22))%0A                )%0A            )%0A        );%0A%0A        String result = RawText.extractRawText(element);%0A%0A        assertThat(result, equalTo(%22Hello world.%5Cn%5Cn%22));%0A    %7D%0A%0A    @Test%0A    public void nonTextElementWithoutChildrenIsConvertedToEmptyString() %7B%0A        DocumentElement element = Break.LINE_BREAK;%0A%0A        String result = RawText.extractRawText(element);%0A%0A        assertThat(result, equalTo(%22%22));%0A    %7D%0A%7D%0A

Add tests for raw text extraction