}
@Test
public void implicitTokenDefinition() {
ILinkingDiagnosticContext diagnosticContext = createMock(ILinkingDiagnosticContext.class);
ParserRule rule = createMock(ParserRule.class);
RuleRef ref = createMock(RuleRef.class);
expect(diagnosticContext.getLinkText()).andReturn("ID");
expect(diagnosticContext.getContext()).andReturn(ref);