@Test
public void validateStringOptions() throws Exception {

    ResourceModel stringRes = createResourceModel(Type.STRING, "[U,UQ,S,SQ]");
    assertTrue(stringRes.isValid("U"));
    assertTrue(stringRes.isValid("UQ"));
    assertTrue(stringRes.isValid("S"));
    assertTrue(stringRes.isValid("SQ"));
    assertFalse(stringRes.isValid("Q"));
}