nA
corresponding once-only cleanup method is also available. It is run after all test case
methods in the class
have been executed, and after any @After methods
nUseful
for stopping servers, closing communication links, etc.
nIndicate
with @AfterClass annotation (can only be used on one method, which
must be static):
n @AfterClass public static
void anyNameHere(){
n // class cleanup code here
n}