Move ExceptionRule up to FlowTestCase

This removes a much larger number of independent field defs.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135846921
This commit is contained in:
mcilwain 2016-10-11 15:07:12 -07:00 committed by Ben McIlwain
parent a500812a91
commit cfbf62ef4e
6 changed files with 4 additions and 25 deletions

View file

@ -18,17 +18,12 @@ import static google.registry.testing.DatastoreHelper.createTld;
import google.registry.flows.FlowTestCase;
import google.registry.flows.LoggedInFlow.NotLoggedInException;
import google.registry.testing.ExceptionRule;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
/** Unit tests for {@link LogoutFlow}. */
public class LogoutFlowTest extends FlowTestCase<LogoutFlow> {
@Rule
public final ExceptionRule thrown = new ExceptionRule();
public LogoutFlowTest() {
setEppInput("logout.xml");
}