### Question:
ReservedWords { public static void verifyReservedJavaKeywordsNotPresent(final JavaSymbolName javaSymbolName) { Validate.notNull(javaSymbolName, "Java symbol required"); if (RESERVED_JAVA_KEYWORDS.contains(javaSymbolName.getSymbolName())) { throw new IllegalStateException("Reserved Java keyword '" + javaSymbolName.getSymbolName() + "' is not permitted as symbol name"); } } private  ReservedWords(); static void verifyReservedJavaKeywordsNotPresent(final JavaSymbolName javaSymbolName); static void verifyReservedJavaKeywordsNotPresent(final JavaType javaType); static void verifyReservedJavaKeywordsNotPresent(final String string); static void verifyReservedSqlKeywordsNotPresent(final JavaSymbolName javaSymbolName); static void verifyReservedSqlKeywordsNotPresent(final JavaType javaType); static void verifyReservedSqlKeywordsNotPresent(final String string); static void verifyReservedWordsNotPresent(final JavaSymbolName javaSymbolName); static void verifyReservedWordsNotPresent(final JavaType javaType); static void verifyReservedWordsNotPresent(final String string); static final Set<String> RESERVED_JAVA_KEYWORDS; static final Set<String> RESERVED_SQL_KEYWORDS; }### Answer:
@Test public void testVerifyReservedJavaKeywordsNotPresent() { ReservedWords.verifyReservedJavaKeywordsNotPresent("test"); }
@Test public void testVerifyReservedJavaKeywordsNotPresent2() { ReservedWords.verifyReservedJavaKeywordsNotPresent(new JavaSymbolName("test")); }
@Test public void testVerifyReservedJavaKeywordsNotPresent3() { ReservedWords.verifyReservedJavaKeywordsNotPresent(new JavaType("com.foo.bar.Foo")); }
@Test(expected = IllegalStateException.class) public void testVerifyReservedJavaKeywordsPresent() { ReservedWords.verifyReservedJavaKeywordsNotPresent(new JavaSymbolName("if")); }
@Test(expected = IllegalStateException.class) public void testVerifyReservedJavaKeywordsPresent2() { ReservedWords.verifyReservedJavaKeywordsNotPresent(new JavaType("com.return.bar")); }