Resolver.getByType -> get as stated in the README
Resolver creates simple Classes without mapping
simplified the factory example and made it executable