mirror of
https://github.com/google/nomulus.git
synced 2025-05-20 11:19:35 +02:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
parent
a7256f5edd
commit
5d80f124ca
377 changed files with 2297 additions and 2373 deletions
|
@ -61,7 +61,7 @@ public class CreateGroupsActionTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void test_invalidRequest_missingClientId() throws Exception {
|
||||
public void test_invalidRequest_missingClientId() {
|
||||
BadRequestException thrown = assertThrows(BadRequestException.class, () -> runAction(null));
|
||||
assertThat(thrown)
|
||||
.hasMessageThat()
|
||||
|
@ -69,7 +69,7 @@ public class CreateGroupsActionTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void test_invalidRequest_invalidClientId() throws Exception {
|
||||
public void test_invalidRequest_invalidClientId() {
|
||||
BadRequestException thrown =
|
||||
assertThrows(BadRequestException.class, () -> runAction("completelyMadeUpClientId"));
|
||||
assertThat(thrown)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue