@@ -0,0 +1,2076 @@
+package org.ethereum.net.shh;%0A%0Aimport org.ethereum.crypto.ECKey;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0A/**%0A * Created by kest on 6/26/15.%0A */%0Apublic class FilterTest %7B%0A%0A    byte%5B%5D to = new ECKey().decompress().getPubKey();%0A    byte%5B%5D from = new ECKey().decompress().getPubKey();%0A    String%5B%5D topics = %7B%22topic1%22, %22topic2%22, %22topic3%22, %22topic4%22%7D;%0A%0A    @Test%0A    public void test1() %7B%0A        Filter matcher = new Filter(null, null, new TopicMatcher(new String%5B%5D%7B%7D));%0A        Filter message = new Filter(to, from, new TopicMatcher(topics));%0A%0A        assertTrue(matcher.match(message));%0A    %7D%0A%0A    @Test%0A    public void test2() %7B%0A        Filter matcher = new Filter(to, null, new TopicMatcher(new String%5B%5D%7B%7D));%0A        Filter message = new Filter(to, from, new TopicMatcher(topics));%0A%0A        assertTrue(matcher.match(message));%0A    %7D%0A%0A    @Test%0A    public void test3() %7B%0A        Filter matcher = new Filter(to, null, new TopicMatcher(new String%5B%5D%7B%7D));%0A        Filter message = new Filter(null, from, new TopicMatcher(topics));%0A%0A        assertTrue(!matcher.match(message));%0A    %7D%0A%0A    @Test%0A    public void test4() %7B%0A        Filter matcher = new Filter(null, from, new TopicMatcher(new String%5B%5D%7B%7D));%0A        Filter message = new Filter(to, from, new TopicMatcher(topics));%0A%0A        assertTrue(matcher.match(message));%0A    %7D%0A%0A    @Test%0A    public void test5() %7B%0A        Filter matcher = new Filter(null, from, new TopicMatcher(new String%5B%5D%7B%7D));%0A        Filter message = new Filter(to, null, new TopicMatcher(topics));%0A%0A        assertTrue(!matcher.match(message));%0A    %7D%0A%0A    @Test%0A    public void test6() %7B%0A        Filter matcher = new Filter(null, from, new TopicMatcher(topics));%0A        Filter message = new Filter(to, from, new TopicMatcher(topics));%0A%0A        assertTrue(matcher.match(message));%0A    %7D%0A%0A    @Test%0A    public void test7() %7B%0A        Filter matcher = new Filter(null, null, new TopicMatcher(topics));%0A        Filter message = new Filter(to, from, new TopicMatcher(new String%5B%5D%7B%7D));%0A%0A        assertTrue(!matcher.match(message));%0A    %7D%0A%7D%0A

Add the whisper filter tests