Mock/stub generator for C