import { Proxy , RealSubject , } from '../src/proxy' ; test ( 'proxy.ts -> Proxy' , ( ) => { const realSubject = new RealSubject ( ) ; const proxy = new Proxy ( realSubject ) ; expect ( proxy . request ( ) ) . toEqual ( 'RealSubject' ) ; expect ( proxy . request ( ) ) . toEqual ( 'Cached: RealSubject' ) ; } ) ;