import { FakeBuilder } from "https://deno.land/x/rhum@v2.0.0/src/fake/fake_builder.ts";
Builder to help build a fake object. This does all of the heavy-lifting to create a fake object.
Constructors
new
FakeBuilder(constructorFn: Constructor<ClassToFake>)Construct an object of this class.
Methods
create(): ClassToFake & IFake<ClassToFake>
Create the fake object.
withConstructorArgs(...args: unknown[]): this
Before constructing the fake object, track any constructor function args that need to be passed in when constructing the fake object.