@Test
public void testNonImplementingContext() {

    final TextView textView = new TextView(application);
    final LinkSpan linkSpan = new LinkSpan("test_id");
    linkSpan.onClick(textView);
    // This would be no-op, because the context doesn't implement LinkSpan.OnClickListener.
    // Just check that no uncaught exception here.
}