Search in sources :

Example 1 with MultiParser

use of org.apache.rocketmq.connect.redis.parser.MultiParser in project rocketmq-externals by apache.

the class ParserTest method testMultiParser.

@Test
public void testMultiParser() {
    String command = "Multi";
    KVEntry builder = new MultiParser().parse(parseCommand(command));
    Assert.assertEquals("Multi", builder.getCommand());
}
Also used : KVEntry(org.apache.rocketmq.connect.redis.pojo.KVEntry) MultiParser(org.apache.rocketmq.connect.redis.parser.MultiParser) Test(org.junit.Test)

Aggregations

MultiParser (org.apache.rocketmq.connect.redis.parser.MultiParser)1 KVEntry (org.apache.rocketmq.connect.redis.pojo.KVEntry)1 Test (org.junit.Test)1