// Path: Source/MarkdownGenerator/src/main/java/net/steppschuh/markdowngenerator/text/quote/Quote.java
// public class Quote extends Text {
// 
//     public Quote(Object value) {
//         super(value);
//     }
// 
//     @Override
//     public String serialize() throws MarkdownSerializationException {
//         if (value == null) {
//             throw new MarkdownSerializationException("Value is null");
//         }
//         StringBuilder sb = new StringBuilder();
//         String lines[] = value.toString().split("\\r?\\n");
//         for (int lineIndex = 0; lineIndex < lines.length; lineIndex++) {
//             sb.append("> ").append(lines[lineIndex]);
//             if (lineIndex < lines.length - 1) {
//                 sb.append(System.lineSeparator());
//             }
//         }
//         return sb.toString();
//     }
// 
// }


import net.steppschuh.markdowngenerator.text.quote.Quote;
import org.junit.Test;
package net.steppschuh.markdowngenerator.text;



/**
 * Created by steppschuh on 15/12/2016.
 */
public class QuoteTest {

    @Test
    public void example1() throws Exception {
        String quote = "I am a blockquote.\nI may contain multiple lines.";
// Path: Source/MarkdownGenerator/src/main/java/net/steppschuh/markdowngenerator/text/quote/Quote.java
// public class Quote extends Text {
// 
//     public Quote(Object value) {
//         super(value);
//     }
// 
//     @Override
//     public String serialize() throws MarkdownSerializationException {
//         if (value == null) {
//             throw new MarkdownSerializationException("Value is null");
//         }
//         StringBuilder sb = new StringBuilder();
//         String lines[] = value.toString().split("\\r?\\n");
//         for (int lineIndex = 0; lineIndex < lines.length; lineIndex++) {
//             sb.append("> ").append(lines[lineIndex]);
//             if (lineIndex < lines.length - 1) {
//                 sb.append(System.lineSeparator());
//             }
//         }
//         return sb.toString();
//     }
// 
// }


// Path: Source/MarkdownGenerator/src/test/java/net/steppschuh/markdowngenerator/text/QuoteTest.java
import net.steppschuh.markdowngenerator.text.quote.Quote;
import org.junit.Test;

package net.steppschuh.markdowngenerator.text;



/**
 * Created by steppschuh on 15/12/2016.
 */
public class QuoteTest {

    @Test
    public void example1() throws Exception {
        String quote = "I am a blockquote.\nI may contain multiple lines.";
        Text text = new Quote(quote);