A declarative API for specifying expectations.