export interface SpyAdapter { getSpy ( property ) : any ; spyAndCallFake < T , K extends keyof T > ( object , key , stub ) : void ; spyAndCallThrough < T , K extends keyof T > ( object , key ) : void ; }