    @Test
    public void test_checkForMatchingCharacteristic_mismatch_method() {


        Element element = Mockito.mock(Element.class);


        Name nameOfElement = Mockito.mock(Name.class);
        Mockito.when(nameOfElement.toString()).thenReturn("XXX");

        Mockito.when(element.getKind()).thenReturn(ElementKind.METHOD);
        Mockito.when(element.getSimpleName()).thenReturn(nameOfElement);
        MatcherAssert.assertThat("Should find mismatch correctly", !unit.checkForMatchingCharacteristic(element, NAME));

    }