The following method is used to set assertion status on a per-class basis:
public void setClassAssertionStatus(string className, boolean enabled);