I recently open two related questions on stackoverflow by i didn't get an answer. Could anyone help my on this?

How magic works and Using converters in junit tests

Thanks in adwance!