@Test
public void testHasAssertionNodeWhithSystemNameButEmptyChildrenList() {

    List<AstNode> nameNodes = new LinkedList<>();
    AstNode systemNodeMock = mock(AstNode.class);
    when(systemNodeMock.getTokenOriginalValue()).thenReturn("System");
    when(systemNodeMock.getChildren()).thenReturn(new LinkedList<>());
    nameNodes.add(systemNodeMock);
    assertFalse(MethodChecksUtils.hasAssertion(nameNodes, SYSTEM_ASSERT_PATTERN));
}