Migrate from old *Verb* classes to new *SubjectBuilder* classes

This migration does not change any behavior.

More information: []

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=168248439
This commit is contained in:
jijiang
2017-09-12 15:51:58 -04:00
committed by jianglai
parent 985d14b51f
commit 211d89695a
9 changed files with 22 additions and 19 deletions
@@ -18,8 +18,8 @@ import static com.google.common.truth.Truth.assertAbout;
import static com.google.common.truth.Truth.assertThat;
import static google.registry.flows.EppXmlTransformer.marshal;
import com.google.common.truth.AbstractVerb.DelegatedVerb;
import com.google.common.truth.FailureStrategy;
import com.google.common.truth.SimpleSubjectBuilder;
import com.google.common.truth.Subject;
import com.google.common.truth.SubjectFactory;
import google.registry.flows.EppException;
@@ -57,7 +57,7 @@ public class EppExceptionSubject extends Subject<EppExceptionSubject, EppExcepti
return new And<>(this);
}
public static DelegatedVerb<EppExceptionSubject, EppException> assertAboutEppExceptions() {
public static SimpleSubjectBuilder<EppExceptionSubject, EppException> assertAboutEppExceptions() {
return assertAbout(new SubjectFactory<EppExceptionSubject, EppException>() {
@Override
public EppExceptionSubject getSubject(FailureStrategy strategy, EppException subject) {