Describe the bug
Use the same mockId for different queries. It stll should work.
To Reproduce
Apex script to reproduce the behavior:
SOQL.of('Account').mockId('MyMockId').toList();
SOQL.of('Contact').mockId('MyMockId').toList();
SOQL.mock('MyMockId')
.thenReturn(new Account(...))
.thenReturn(new Contact(...));
Describe the bug
Use the same mockId for different queries. It stll should work.
To Reproduce
Apex script to reproduce the behavior: