use of org.apache.rocketmq.connect.redis.parser.FlushAllParser in project rocketmq-externals by apache.
the class ParserTest method testFlushAllParser.
@Test
public void testFlushAllParser() {
String command = "FLUSHALL ASYNC";
KVEntry builder = new FlushAllParser().parse(parseCommand(command));
Assert.assertEquals("FLUSHALL", builder.getCommand());
Assert.assertEquals("ASYNC", builder.getKey());
}
Aggregations