mirror of
https://github.com/google/nomulus
synced 2026-09-06 16:17:13 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user