package org.schemaspy.view;

import org.junit.Test;

import static org.assertj.core.api.Assertions.assertThat;

public class HtmlFormatterTest {

    @Test
    public void urlEncode() {
        assertThat(HtmlFormatter.escapeHtml("string")).isEqualTo("string");
        assertThat(HtmlFormatter.escapeHtml("string with spaces")).isEqualTo("string with spaces");
    }

    @Test
    public void urlEncodeLink() {
        assertThat(HtmlFormatter.urlEncodeLink("string")).isEqualTo("string");
        assertThat(HtmlFormatter.urlEncodeLink("string with spaces")).isEqualTo("string%20with%20spaces");
    }
}
@@ -165,25 +165,26 @@
 ic void 
-urlEncode
+escapeHtml
 () %7B%0A   

Rename test method