How to unit test functions that use type hinting How to unit test functions that use type hinting symfony symfony