import { IFluidHandle , IRequest , IResponse } from '@fluidframework/core-interfaces' ; import { IFluidSerializer } from '@fluidframework/shared-object-base' ; export class TestFluidSerializer implements IFluidSerializer { public constructor ( ) { } public get IFluidSerializer ( ) { return this ; } public encode ( value , bind ) { throw new Error ( 'Method not implemented.' ) ; } public decode ( input ) { throw new Error ( 'Method not implemented.' ) ; } public stringify ( value , bind ) { return JSON . stringify ( value ) ; } public parse ( value ) { return JSON . parse ( value ) ; } } export class TestFluidHandle implements IFluidHandle { public absolutePath ; public isAttached ; public get IFluidHandle ( ) : IFluidHandle { return this ; } public async get ( ) { throw new Error ( 'Method not implemented.' ) ; } public bind ( handle ) { throw new Error ( 'Method not implemented.' ) ; } public attachGraph ( ) { throw new Error ( 'Method not implemented.' ) ; } public async resolveHandle ( request ) { throw new Error ( 'Method not implemented.' ) ; } }