### Question:
JdbcMetaConfigurationImpl implements JdbcMetaConfiguration { public String getJavaType(String vendorSqlType, int typeCode) throws SQLException { String sqlType = getJdbcTypeName(typeCode); return getJavaTypeForJdbcType(sqlType,vendorSqlType); }  String getJdbcTypeName(int typeCode); String getJavaType(String vendorSqlType, int typeCode); Map getJdbc2JavaTypeMapping(); void setJdbc2JavaTypeMapping(Map sql2JavaTypeMapping); Set<String> getSupportedJavaTypes(); String getJavaTypeForJdbcType(String sqlType, String dbVendorType); List getTableTypes(); void setTableTypes(List tableTypes); Map<Integer, String> getCodeToJdbcTypeMapping(); void setCodeToJdbcTypeMapping(Map<Integer, String> codeToJdbcTypeMapping); String getExcludeTablesPattern(); void setExcludeTablesPattern(String excludeTablesPattern); String getIncludeTablesPattern(); void setIncludeTablesPattern(String includeTablesPattern); boolean isIncludeSynonymsForOracle(); void setIncludeSynonymsForOracle(boolean includeSynonymsForOracle); boolean isUseColumnLabelInDerivedTables(); void setUseColumnLabelInDerivedTables(boolean useColumnLabelInDerivedTables); String getColumnNameEscapingRegexp(); void setColumnNameEscapingRegexp(String columnNameEscapingRegexp);  }### Answer:
@Test public void getJavaType_withDefinedSqlType() throws SQLException { String javaType = jdbcMetaConfiguration.getJavaType("INTEGER",4); assertEquals("java.lang.Integer", javaType); }
@Test public void getJavaType_withKnownSqlType_UnknownTypeCode() throws SQLException { String javaType = jdbcMetaConfiguration.getJavaType("INTEGER",999); assertEquals(null, javaType); }
@Test public void getJavaType_withUserDefinedSqlType_UnknownTypeCode() throws SQLException { String javaType = jdbcMetaConfiguration.getJavaType("UUID",999); assertEquals("java.lang.String", javaType); }
@Test public void getJavaType_withUserDefinedSqlType_OtherTypeCode() throws SQLException { String javaType = jdbcMetaConfiguration.getJavaType("UUID",1111); assertEquals("java.lang.String", javaType); }
@Test public void getJavaType_msSqlDateTimeOffsetType_returnTimestamp() throws SQLException { String javaType = jdbcMetaConfiguration.getJavaType("TIMESTAMP",-155); assertEquals(Timestamp.class.getName(), javaType); }
@Test public void getJavaType_withNullSqlType_UnknownTypeCode() throws SQLException { String javaType = jdbcMetaConfiguration.getJavaType(null,999); assertEquals(null, javaType); }