mirror of
https://github.com/google/nomulus
synced 2026-01-07 22:15:30 +00:00
Qualify the usage of ImmutableMap.of()
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=167723174
This commit is contained in:
@@ -300,9 +300,7 @@ public class DomainTransferApproveFlowTest
|
||||
.build())
|
||||
.toArray(BillingEvent.class));
|
||||
// There should be no grace period.
|
||||
assertGracePeriods(
|
||||
domain.getGracePeriods(),
|
||||
ImmutableMap.of());
|
||||
assertGracePeriods(domain.getGracePeriods(), ImmutableMap.<GracePeriod, BillingEvent>of());
|
||||
}
|
||||
|
||||
private void doSuccessfulTest(String tld, String commandFilename, String expectedXmlFilename)
|
||||
|
||||
@@ -320,7 +320,9 @@ public class DomainTransferRequestFlowTest
|
||||
// gaining and losing registrars should have a new poll message.
|
||||
DomainResource domainAfterAutomaticTransfer = domain.cloneProjectedAtTime(implicitTransferTime);
|
||||
// There should be no grace period.
|
||||
assertGracePeriods(domainAfterAutomaticTransfer.getGracePeriods(), ImmutableMap.of());
|
||||
assertGracePeriods(
|
||||
domainAfterAutomaticTransfer.getGracePeriods(),
|
||||
ImmutableMap.<GracePeriod, BillingEvent>of());
|
||||
}
|
||||
|
||||
private void assertPollMessagesEmitted(
|
||||
|
||||
Reference in New Issue
Block a user