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