@@ -0,0 +1,725 @@
+package net.ttddyy.dsproxy.test.hamcrest;%0A%0Aimport net.ttddyy.dsproxy.test.QueryHolder;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport static net.ttddyy.dsproxy.test.hamcrest.QueryHolderAssertions.query;%0Aimport static org.hamcrest.Matchers.is;%0Aimport static org.hamcrest.Matchers.startsWith;%0A%0A/**%0A * @author Tadaya Tsuyukubo%0A * @since 1.4%0A */%0Apublic class QueryHolderTest %7B%0A%0A    @Test%0A    public void testQuery() %7B%0A        QueryHolder queryHolder = new QueryHolder() %7B%0A            @Override%0A            public String getQuery() %7B%0A                return %22foo%22;%0A            %7D%0A        %7D;%0A%0A        Assert.assertThat(queryHolder, query(is(%22foo%22)));%0A        Assert.assertThat(queryHolder, query(startsWith(%22f%22)));%0A    %7D%0A%0A%7D%0A

Add QueryHolder test