@Published(tag="architect") public class SystemPropertyResource extends org.junit.rules.ExternalResource
下記のようにテストクラスに記述することで、テストメソッドの実行後にシステムプロパティをテスト実行前の状態に復帰できる。
@Rule public final SystemPropertyResource systemPropertyResource = new SystemPropertyResource();
| Constructor and Description | 
|---|
SystemPropertyResource()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
after()  | 
protected void | 
before()  |