StubZero StubZero is a golang package with helpers for creating manual test stubs and making assertions on how and when they are called. The API is heavily influenced by the Sinon JavaScript library.