solve small issue for this junit part of aws s3.

Hourly Project | Posted



₹ 200/ Hour

Estimated Hour - 1 hrs

Budget

12

Proposals

1096

Views

Active

Status

Skills Required

Project Details

i wanted to mock for below statement of aws s3. i used when(s3Client.getObjectMetadata(bucketName, fileName).getUserMetaDataOf("jwt")).thenReturn(message); for that statement but it didn't worked.

@Autowired

AmazonS3 s3Client;

String jwtToken = s3Client.getObjectMetadata(bucketName, fileName).getUserMetaDataOf("jwt");

About the Client

Country
India

India

Reputation

0

Projects Paid
0
Projects Posted
3
Total Feedbacks
0
Feedbacks
0%
Total Spent
₹ 0
Client Type
Individual

Member since 

Copyright © 2025 | Truelancer.com