@@ -0,0 +1,1358 @@
+package hu.supercluster.overpasser.library.query;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.mockito.Mock;%0Aimport org.mockito.MockitoAnnotations;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class OverpassFilterQueryTest %7B%0A    static final String START_TOKEN = %22; (%22;%0A    static final String END_TOKEN = %22;%3C;)%22;%0A    @Mock OverpassQuery query;%0A    OverpassFilterQuery filterQuery;%0A%0A    public OverpassFilterQueryTest() %7B%0A        MockitoAnnotations.initMocks(this);%0A    %7D%0A%0A    private String build(String s) %7B%0A        return START_TOKEN + s + END_TOKEN;%0A    %7D%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        filterQuery = new OverpassFilterQuery(query);%0A    %7D%0A%0A    @Test%0A    public void testBuild() throws Exception %7B%0A        assertEquals(build(%22%22), filterQuery.build());%0A    %7D%0A%0A    @Test%0A    public void testNode() throws Exception %7B%0A        filterQuery.node();%0A%0A        assertEquals(build(%22node%22), filterQuery.build());%0A    %7D%0A%0A    @Test%0A    public void testWay() throws Exception %7B%0A        filterQuery.way();%0A%0A        assertEquals(build(%22way%22), filterQuery.build());%0A    %7D%0A%0A    @Test%0A    public void testPrepareNext() throws Exception %7B%0A        filterQuery%0A                .node()%0A                .prepareNext()%0A                .way()%0A        ;%0A%0A        assertEquals(build(%22node; way%22), filterQuery.build());%0A    %7D%0A%7D

Add OverpassFilterQueryTest