@Test
public void test_createSTSRole_successfully() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    AWSStsRole awsStsRole = new AWSStsRole();
    awsStsRole.setAccount_id("account_id1");
    awsStsRole.setSts_role("sts_role1");
    String jsonStr = "{ \"account_id\": \"account_id1\", \"sts_role\": \"sts_role1\"}";
    Response response = getMockResponse(HttpStatus.NO_CONTENT, true, "");
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body("{\"messages\":[\"STS Role created successfully \"]}");
    when(reqProcessor.process("/auth/aws/config/sts/create",jsonStr, token)).thenReturn(response);
    when(JSONUtil.getJSON(awsStsRole)).thenReturn(jsonStr);
    ResponseEntity<String> responseEntity = awsAuthService.createSTSRole(awsStsRole, token);
    assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
    assertEquals(responseEntityExpected, responseEntity);
}