@Test
void getKeyWordDirective() throws InvalidVelocityException
{

    VelocityParserContext context = new VelocityParserContext();
    StringBuffer buffer = new StringBuffer();
    int index = this.parser.getKeyWord("#directive(param1 param2, param2)  ".toCharArray(), 0, buffer, context);
    assertEquals("#directive(param1 param2, param2)".length(), index);
    assertEquals("#directive(param1 param2, param2)", buffer.toString());
    assertFalse(context.isInVelocityBlock());
    assertEquals(VelocityType.MACRO, context.getType());
}