### Question:
StrikeRule implements InlineRule { @Override public MarkdownString toMarkdownString(final String pContent) { Matcher matcher = getRegex().matcher(pContent); String content = ""; if (matcher.find()) { content = matcher.group(1); } return new StrikeString(content, true); }  @Override Pattern getRegex(); @Override MarkdownString toMarkdownString(final String pContent);  }### Answer:
@Test public void shouldCreateStrikeString() { assertEquals("text", mStrikeRule.toMarkdownString("~~text~~").getContent()); }
@Test public void shouldNotCreateStrikeString() { assertNotEquals("text", mStrikeRule.toMarkdownString("$$text$$").getContent()); }