Add test to confirm fee validation when creating/checking a premium domain during EAP

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=185002798
This commit is contained in:
jianglai 2018-02-08 09:03:28 -08:00
parent 4b4492f2a2
commit eb82566785
6 changed files with 155 additions and 3 deletions

View file

@ -55,7 +55,7 @@ public final class DomainPricingLogic {
@Inject
DomainPricingLogic() {}
/** Returns a new create price for the Pricer. */
/** Returns a new create price for the pricer. */
public FeesAndCredits getCreatePrice(
Registry registry, String domainName, DateTime date, int years) throws EppException {
CurrencyUnit currency = registry.getCurrency();
@ -84,8 +84,6 @@ public final class DomainPricingLogic {
}
// TODO: (b/33000134) clean up the rest of the pricing calls.
/** Returns a new renew price for the pricer. */
@SuppressWarnings("unused")
public FeesAndCredits getRenewPrice(