#ifndef __MOCK_CLASS_H__ #define __MOCK_CLASS_H__ #include "token/cclass.h" extern char _called; extern void inline _reset() { _called = 0; } struct MOCK_CLASS { const struct CCLASS * const class; int value; }; extern const struct CCLASS * const MOCK_CLASS; /** * ~~~ method declarations ~~~~~~~~ */ int mock_class_getValue(struct MOCK_CLASS * _this); void mock_class_setValue(struct MOCK_CLASS * _this, int value); #endif//__MOCK_CLASS_H__ // vim: set et ts=4 sw=4: