Poor Man’s Mocks in TypeScript