### Question:
Web3jEventParameterConverter implements EventParameterConverter<Type> { @Override public EventParameter convert(Type toConvert) { final EventParameterConverter<Type> typeConverter = typeConverters.get(toConvert.getTypeAsString().toLowerCase()); if (typeConverter == null) { if (toConvert instanceof DynamicArray){ final DynamicArray<?> theArray = (DynamicArray<?>) toConvert; return convertDynamicArray(theArray); } throw new TypeConversionException("Unsupported type: " + toConvert.getTypeAsString()); } return typeConverter.convert(toConvert); } Web3jEventParameterConverter(EventeumSettings settings); @Override EventParameter convert(Type toConvert);  }### Answer:
@Test public void testAddressConversion() { final EventParameter<String> result = underTest.convert(new Address(ADDRESS)); assertEquals(ADDRESS, result.getValue()); }
@Test public void testUint256Conversion() { final EventParameter<BigInteger> result = underTest.convert(new Uint256(10)); assertEquals(BigInteger.TEN, result.getValue()); }
@Test public void testUint8Conversion() { final EventParameter<BigInteger> result = underTest.convert(new Uint8(10)); assertEquals(BigInteger.TEN, result.getValue()); }
@Test public void testBytes32Conversion() { final byte[] bytes = new BigInteger("61546f7069630000000000000000000000000000000000000000000000000000", 16).toByteArray(); final Bytes32 value = new Bytes32(bytes); final EventParameter<String> result = underTest.convert(value); assertEquals("aTopic", result.getValue()); }
@Test(expected = TypeConversionException.class) public void testInvalidTypeConversion() { underTest.convert(new InvalidType()); }