Remove unnecessary "throws" declarations

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=201058582
This commit is contained in:
mcilwain 2018-06-18 14:25:42 -07:00 committed by Ben McIlwain
parent a7256f5edd
commit 5d80f124ca
377 changed files with 2297 additions and 2373 deletions

View file

@ -50,7 +50,7 @@ public class PricingEngineProxyTest {
private Clock clock;
@Before
public void before() throws Exception {
public void before() {
PremiumList premiumList = persistPremiumList(
"rich,USD 100",
"richer,USD 999",
@ -85,7 +85,7 @@ public class PricingEngineProxyTest {
}
@Test
public void testIsPremiumDomain() throws Exception {
public void testIsPremiumDomain() {
createTld("example");
assertThat(isDomainPremium("poor.example", clock.nowUtc())).isFalse();
assertThat(isDomainPremium("rich.example", clock.nowUtc())).isTrue();
@ -93,7 +93,7 @@ public class PricingEngineProxyTest {
}
@Test
public void testGetDomainCreateCost() throws Exception {
public void testGetDomainCreateCost() {
// The example tld has a premium price for "rich".
createTld("example");
// The default value of 17 is set in createTld().
@ -108,7 +108,7 @@ public class PricingEngineProxyTest {
}
@Test
public void testGetDomainRenewCost() throws Exception {
public void testGetDomainRenewCost() {
// The example tld has a premium price for "rich".
createTld("example");
persistResource(
@ -137,7 +137,7 @@ public class PricingEngineProxyTest {
}
@Test
public void testFailure_cantLoadPricingEngine() throws Exception {
public void testFailure_cantLoadPricingEngine() {
createTld("example");
persistResource(
Registry.get("example")