### Question:
JMSMessagePropertySupport { public static void checkIdentifierIsntLogicOperator(String identifier) { if ("NOT".equals(identifier) || "AND".equals(identifier) || "OR".equals(identifier) || "BETWEEN".equals(identifier) || "LIKE".equals(identifier) || "IN".equals(identifier) || "IS".equals(identifier) || "ESCAPE".equals(identifier)) { throw new IllegalArgumentException("Identifier not allowed in JMS: '" + identifier + "'"); } }  @SuppressWarnings("unchecked") static T convertPropertyTo(String name, Object value, Class<T> target); static void checkPropertyNameIsValid(String propertyName, boolean validateNames); static void checkIdentifierIsntLogicOperator(String identifier); static void checkIdentifierIsntNullTrueFalse(String identifier); static void checkIdentifierLetterAndDigitRequirements(String identifier); static void checkValidObject(Object value);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testCheckIdentifierIsntLogicOperatorOr() throws JMSException { JMSMessagePropertySupport.checkIdentifierIsntLogicOperator("OR"); }
@Test(expected = IllegalArgumentException.class) public void testCheckIdentifierIsntLogicOperatorAnd() throws JMSException { JMSMessagePropertySupport.checkIdentifierIsntLogicOperator("AND"); }
@Test(expected = IllegalArgumentException.class) public void testCheckIdentifierIsntLogicOperatorNot() throws JMSException { JMSMessagePropertySupport.checkIdentifierIsntLogicOperator("NOT"); }
@Test(expected = IllegalArgumentException.class) public void testCheckIdentifierIsntLogicOperatorBetween() throws JMSException { JMSMessagePropertySupport.checkIdentifierIsntLogicOperator("BETWEEN"); }
@Test(expected = IllegalArgumentException.class) public void testCheckIdentifierIsntLogicOperatorIn() throws JMSException { JMSMessagePropertySupport.checkIdentifierIsntLogicOperator("IN"); }
@Test(expected = IllegalArgumentException.class) public void testCheckIdentifierIsntLogicOperatorLike() throws JMSException { JMSMessagePropertySupport.checkIdentifierIsntLogicOperator("LIKE"); }
@Test(expected = IllegalArgumentException.class) public void testCheckIdentifierIsntLogicOperatorIs() throws JMSException { JMSMessagePropertySupport.checkIdentifierIsntLogicOperator("IS"); }
@Test(expected = IllegalArgumentException.class) public void testCheckIdentifierIsntLogicOperatorEscape() throws JMSException { JMSMessagePropertySupport.checkIdentifierIsntLogicOperator("ESCAPE"); }