import { createMock } from 'ts-auto-mock' ; describe ( 'for call signature' , ( ) => { interface InterfaceWithCallSignatureReturn { ( a ) : InterfaceWithCallSignatureReturn ; b : string ; } it ( 'should not work' , ( ) => { expect ( ( ) => { const properties = createMock < InterfaceWithCallSignatureReturn > ( ) ; properties ( 0 ) ; expect ( properties ) . toHaveBeenCalledTimes ( 1 ) ; } ) . toThrow ( ) ; } ) ; } ) ;