@ Override public Statement apply ( final Statement base , final Description description ) { if ( description . isSuite ( ) ) { return super . apply ( classStatement ( base ) , description ) ; } return super . apply ( statement ( base ) , description ) ; }
Verifies if the caller is a Suite and triggers the beforeClass and afterClass behavior .