package com.github.ukase.toolkit;

import org.junit.Assert;
import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by User on 29.07.2016.
 */
public class HandlebarBugFilterTest {

    HandlebarBugFilter handlebarBugFilter = new HandlebarBugFilter();

    @Test
    public void test1() {
        String example1 = "likglkfdsalewaj sdlfjdslkfds &amp dsasadsa &lt; asddffdshgdgfterwqq &quot dsafsafd &quot ";

        String res1 = handlebarBugFilter.doFilter(example1);

        Assert.assertEquals(res1, "likglkfdsalewaj sdlfjdslkfds &amp; dsasadsa &lt; asddffdshgdgfterwqq &quot; dsafsafd &quot; ");
    }
}
@@ -75,16 +75,41 @@
 it.Test;
+%0Aimport org.junit.Before;
 %0A%0Aimport
@@ -159,12 +159,13 @@
  by 
-User
+alvov
  on 
@@ -223,16 +223,24 @@
  %7B%0A%0A    
+private 
 Handleba
@@ -268,16 +268,87 @@
 ugFilter
+;%0A%0A    @Before%0A    public void setUp()%7B%0A        this.handlebarBugFilter
  = new H
@@ -367,16 +367,22 @@
 ilter();
+%0A    %7D
 %0A%0A    @T
@@ -405,13 +405,27 @@
 oid 
-t
+simpleBugFilterT
 est
-1
 () %7B
@@ -447,17 +447,16 @@
  example
-1
  = %22likg
@@ -562,17 +562,16 @@
 ring res
-1
  = handl
@@ -600,17 +600,16 @@
 (example
-1
 );%0A%0A    
@@ -635,17 +635,16 @@
 uals(res
-1
 , %22likgl

rename test