001 package junit.framework; 002 003 /** 004 * A <em>Protectable</em> can be run and can throw a Throwable. 005 * 006 * @see TestResult 007 */ 008 public interface Protectable { 009 010 /** 011 * Run the following method protected. 012 */ 013 public abstract void protect() throws Throwable; 014 }