TEST(AWorkObject, DefaultsFunctionToNullObject) { Work work; try { work.execute(); } catch(...) { FAIL("unable to execute function"); } }
virtual void add(Work work) override { work.execute(); }