private <S extends MemberScope<?, ?>> S createMemberMock(Class<S> scopeType, boolean isStatic, String name) {
        S mock = Mockito.mock(scopeType);
        Mockito.when(mock.isStatic()).thenReturn(isStatic);
        Mockito.when(mock.getSchemaPropertyName()).thenReturn(name);
        return mock;
    }
Test for the {@link PropertySortUtils} class.
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/impl/PropertySortUtilsTest.java