Minor changes

This commit is contained in:
andrea
2015-08-01 16:45:28 +02:00
parent 8b48a82968
commit 5bfc73fafb
3 changed files with 8 additions and 3 deletions
@@ -80,6 +80,11 @@ public class SubscriptionsStoreTest {
store.parseTopic("finance#");
}
@Test(expected = ParseException.class)
public void testParseTopicMultiNotAlone() throws ParseException {
store.parseTopic("/finance/#closingprice");
}
@Test
public void testParseTopicSingleValid() throws ParseException {
List<Token> tokens = store.parseTopic("finance/stock/+");