Skip to content

Commit 13de014

Browse files
committed
change test name
1 parent 355ec82 commit 13de014

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import software.amazon.awssdk.services.s3.model.GetObjectRequest;
3838
import software.amazon.awssdk.services.s3.model.GetObjectResponse;
3939

40-
public class MultipartDownloaderSubscriberMockClientTest {
40+
public class MultipartDownloaderSubscriberPartCountValidationTest {
4141
@Mock
4242
private S3AsyncClient s3Client;
4343

@@ -60,7 +60,7 @@ void setUp() {
6060
}
6161

6262
@Test
63-
void testValidationPassesWhenCallCountMatchesTotalParts() throws InterruptedException {
63+
void callCountMatchesTotalParts_shouldPass() throws InterruptedException {
6464
subscriber = new MultipartDownloaderSubscriber(s3Client, getObjectRequest);
6565
GetObjectResponse response1 = createMockResponse(3, "etag1");
6666
GetObjectResponse response2 = createMockResponse(3, "etag2");
@@ -85,7 +85,7 @@ void testValidationPassesWhenCallCountMatchesTotalParts() throws InterruptedExce
8585
}
8686

8787
@Test
88-
void testValidationFailsWhenCallCountExceedsTotalParts() throws InterruptedException {
88+
void callCountLessThanTotalParts_shouldThrowException() throws InterruptedException {
8989
subscriber = new MultipartDownloaderSubscriber(s3Client, getObjectRequest);
9090
GetObjectResponse response1 = createMockResponse(3, "etag1");
9191
GetObjectResponse response2 = createMockResponse(3, "etag2");

0 commit comments

Comments
 (0)