A mock simulation of a library