public Member getTarget() {
        return target;
    }
@Test
    public void testConstructor_withTarget() {
        Member localMember = Mockito.mock(Member.class);
        Member target = Mockito.mock(Member.class);

        WrongTargetException exception = new WrongTargetException(localMember, target, 23, 42, "WrongTargetExceptionTest");

        assertEquals(target, exception.getTarget());
    }