Create a function that mocks a constructor of a class. ### Acceptance criteria - [ ] the function mocks automatically everything about the constructor in input;