* Case 3.2: Primitive property type. <br/>
* Case 3.3: Map property type.
*/
@Test
public void testConvertToMap3() {
final BeanUtilsSubject inputX = new BeanUtilsSubject();
inputX.setField2(TEST_INT);
inputX.setField3(new HashMap<String, Class<?>>());
final Map<String, Object> output3 = BeanUtils.convertToMap(inputX, null);
Assert.assertNull("Case 3.1: String property type.", output3.get(BeanUtilsSubject.FIELD1));
Assert.assertEquals("Case 3.2: Primitive property type.", TEST_INT, output3.get(BeanUtilsSubject.FIELD2));
Assert.assertTrue("Case 3.3: Map property type.", output3.get(BeanUtilsSubject.FIELD3) instanceof Map);