#include #include "cppUnitHelper.hxx" // necessary for the custom assert namespace CLAMTest { class SomeClassTest; CPPUNIT_TEST_SUITE_REGISTRATION( SomeClassTest ); class SomeClassTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( SomeClassTest ); CPPUNIT_TEST( testSomeMethod_WhenSomeConditionsMeet ); CPPUNIT_TEST_SUITE_END(); public: /// Common initialization, executed before each test method void setUp() { } /// Common clean up, executed after each test method void tearDown() { } private: void testSomeMethod_WhenSomeConditionsMeet() { // Setup // Exercise // Verification CPPUNIT_ASSERT_EQUAL( *** Expected Result ***, *** Given Result *** ); // Tear down } }; } // namespace CLAMTest