@Test
public void testHasTestMethodKeywordNotMatchesTestMethodPattern() {

    AstNode astNode = mock(AstNode.class);
    AstNode modifier = mock(AstNode.class);
    AstNode notTestMethodNode = mock(AstNode.class);
    List<AstNode> modifiers = new LinkedList<>();
    List<AstNode> modifierChildren = new LinkedList<>();
    when(notTestMethodNode.getTokenOriginalValue()).thenReturn("somethingElse");
    modifierChildren.add(notTestMethodNode);
    when(modifier.getChildren()).thenReturn(modifierChildren);
    modifiers.add(modifier);
    when(astNode.getChildren(MODIFIERS)).thenReturn(modifiers);
    assertFalse(MethodChecksUtils.hasTestMethodKeyword(astNode));
}