protected void setUp() { if (_subject instanceof TestLifeCycle) { try { ((TestLifeCycle) _subject).setUp(); } catch (Exception e) { throw new SetupFailureException(e); } } }
protected void tearDown() { if (_subject instanceof TestLifeCycle) { try { ((TestLifeCycle) _subject).tearDown(); } catch (Exception e) { throw new TearDownFailureException(e); } } }