Borrowing from jesters ideology to automatically stub out objects based on their type required sinon