Konubinix' opinionated web of thoughts

Test Double

Fleeting

test double

A test double is the general programming concept for a type used in place of another type during testing. Mock objects are specific types of test doubles that record what happens during a test so you can assert that the correct actions took place.

https://doc.rust-lang.org/stable/book/ch15-05-interior-mutability.html