// Prevent copy construction and assignment for a class
#define REFERENCEOBJECT(className) \
private: \
className(const className& other); \
className& operator = (const className& other);
class TestCase{
REFERENCEOBJECT(TestCase)
}
// Prevent copy construction and assignment for a class
#define REFERENCEOBJECT(className) \
private: \
className(const className& other); \
className& operator = (const className& other);
class TestCase{
REFERENCEOBJECT(TestCase)
}