Create a mock implementation of the DB (hash map?) to be used during testing + add a run command for test:db (so not to be used by integration).
Look into extending the database manager and override the methods for testing.
Notes on the overridden functionality:
constructor & connection: empty
generic create: create a new UID and assign it to object. Save the object into a data structure (hash table?)
Create a mock implementation of the DB (hash map?) to be used during testing + add a run command for test:db (so not to be used by integration).
Look into extending the database manager and override the methods for testing.
Notes on the overridden functionality: constructor & connection: empty generic create: create a new UID and assign it to object. Save the object into a data structure (hash table?)