mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 10:16:07 +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
|
@ -17,8 +17,8 @@ package google.registry.testing;
|
|||
import static com.google.common.base.Preconditions.checkNotNull;
|
||||
import static com.google.common.truth.Truth.assertAbout;
|
||||
|
||||
import com.google.common.truth.AbstractVerb.DelegatedVerb;
|
||||
import com.google.common.truth.FailureStrategy;
|
||||
import com.google.common.truth.SimpleSubjectBuilder;
|
||||
import com.googlecode.objectify.Key;
|
||||
import google.registry.model.domain.DomainResource;
|
||||
import google.registry.model.host.HostResource;
|
||||
|
@ -37,7 +37,7 @@ public final class HostResourceSubject
|
|||
super(strategy, checkNotNull(subject));
|
||||
}
|
||||
|
||||
public static DelegatedVerb<HostResourceSubject, HostResource> assertAboutHosts() {
|
||||
public static SimpleSubjectBuilder<HostResourceSubject, HostResource> assertAboutHosts() {
|
||||
return assertAbout(new SubjectFactory());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue