TestHelper class

Constructors

TestHelper.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

localDb → Db
final

Static Methods

ticketSetUp(Db db, Connection connection) Future<Counterfoil>
avoid adding boutique_service depency in ticket_service just to get unit test rolling also a lot of half-mocked logic to recreate objects prod like since we delegate id management to mongodb, we need to create firm, then chain, then boutique and pass their ids to the counterfoil used by the ticket