mirror of
https://github.com/google/nomulus.git
synced 2025-06-29 15:53:35 +02: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:
parent
985d14b51f
commit
211d89695a
9 changed files with 22 additions and 19 deletions
|
@ -19,8 +19,8 @@ import static com.google.common.truth.Truth.assertAbout;
|
|||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import com.google.common.truth.AbstractVerb.DelegatedVerb;
|
||||
import com.google.common.truth.FailureStrategy;
|
||||
import com.google.common.truth.SimpleSubjectBuilder;
|
||||
import google.registry.model.domain.DomainApplication;
|
||||
import google.registry.model.domain.Period;
|
||||
import google.registry.model.domain.launch.ApplicationStatus;
|
||||
|
@ -84,7 +84,7 @@ public final class DomainApplicationSubject
|
|||
super(strategy, checkNotNull(subject));
|
||||
}
|
||||
|
||||
public static DelegatedVerb<DomainApplicationSubject, DomainApplication>
|
||||
public static SimpleSubjectBuilder<DomainApplicationSubject, DomainApplication>
|
||||
assertAboutApplications() {
|
||||
return assertAbout(new SubjectFactory());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue