Skip to content

Commit f2ce936

Browse files
smoghe-bwclaude
andcommitted
rename smoke test methods to match *Test naming convention
Renamed shouldThrow* methods to follow the existing *Test pattern used by all other test methods in the file and repo. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e1a04aa commit f2ce936

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/com/bandwidth/sdk/smoke/EndpointsApiTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void deleteEndpointTest() throws ApiException {
113113
}
114114

115115
@Test
116-
public void shouldThrow401UnauthorizedWithInvalidCredentials() {
116+
public void unauthorizedCredentialsTest() {
117117
ApiClient badOauthClient = new ApiClient("invalid-client-id", "invalid-client-secret", null);
118118
EndpointsApi endpointsApiBad = new EndpointsApi(badOauthClient);
119119

@@ -122,15 +122,15 @@ public void shouldThrow401UnauthorizedWithInvalidCredentials() {
122122
}
123123

124124
@Test
125-
public void shouldThrow404NotFoundWithInvalidAccount() throws ApiException {
125+
public void invalidAccountTest() throws ApiException {
126126
ApiException exception = Assertions.assertThrows(ApiException.class,
127127
() -> api.listEndpointsWithHttpInfo("invalid-account-id", null, null, null, null));
128128

129129
assertThat(exception.getCode(), is(404));
130130
}
131131

132132
@Test
133-
public void shouldThrow404NotFoundForNonExistentEndpoint() throws ApiException {
133+
public void nonExistentEndpointTest() throws ApiException {
134134
ApiException exception = Assertions.assertThrows(ApiException.class,
135135
() -> api.getEndpointWithHttpInfo(BW_ACCOUNT_ID, "does-not-exist"));
136136

0 commit comments

Comments
 (0)