private void addUserFields(QueryProfileType user, QueryProfileTypeRegistry registry) {
        user.addField(new FieldDescription("myUserString",FieldType.fromString("string",registry)), registry);
        user.addField(new FieldDescription("myUserInteger",FieldType.fromString("integer",registry),"uint"), registry);
    }
Tests query profiles with/and types

@author bratseth
container-search/src/test/java/com/yahoo/search/query/profile/types/test/QueryProfileTypeTestCase.java