simple test case for League\DI automatic resolution