[Java] Class TestMonitor