import { EditStatus , GenericTransaction } from '../../generic' ; import { Snapshot } from '../../Snapshot' ; internal export class MockTransaction < TChange > extends GenericTransaction < TChange > { public static factory < TChange > ( snapshot ) { return new MockTransaction < TChange > ( snapshot ) ; } protected validateOnClose ( ) { return EditStatus . Applied ; } protected dispatchChange ( change ) { return EditStatus . Applied ; } }