mirror of
https://github.com/google/nomulus.git
synced 2025-05-21 19:59:34 +02:00
Qualify the usage of ImmutableMap.of()
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=167723174
This commit is contained in:
parent
3687cc5138
commit
2319ae31d5
2 changed files with 4 additions and 4 deletions
|
@ -300,9 +300,7 @@ public class DomainTransferApproveFlowTest
|
||||||
.build())
|
.build())
|
||||||
.toArray(BillingEvent.class));
|
.toArray(BillingEvent.class));
|
||||||
// There should be no grace period.
|
// There should be no grace period.
|
||||||
assertGracePeriods(
|
assertGracePeriods(domain.getGracePeriods(), ImmutableMap.<GracePeriod, BillingEvent>of());
|
||||||
domain.getGracePeriods(),
|
|
||||||
ImmutableMap.of());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void doSuccessfulTest(String tld, String commandFilename, String expectedXmlFilename)
|
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.
|
// gaining and losing registrars should have a new poll message.
|
||||||
DomainResource domainAfterAutomaticTransfer = domain.cloneProjectedAtTime(implicitTransferTime);
|
DomainResource domainAfterAutomaticTransfer = domain.cloneProjectedAtTime(implicitTransferTime);
|
||||||
// There should be no grace period.
|
// There should be no grace period.
|
||||||
assertGracePeriods(domainAfterAutomaticTransfer.getGracePeriods(), ImmutableMap.of());
|
assertGracePeriods(
|
||||||
|
domainAfterAutomaticTransfer.getGracePeriods(),
|
||||||
|
ImmutableMap.<GracePeriod, BillingEvent>of());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void assertPollMessagesEmitted(
|
private void assertPollMessagesEmitted(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue