66import com .ringcentral .definitions .PromptInfo ;
77import okhttp3 .Request ;
88import okhttp3 .Response ;
9+ import org .junit .Assert ;
910import org .junit .Test ;
1011
1112import java .io .IOException ;
1213import java .nio .file .Files ;
1314import java .nio .file .Paths ;
1415
15- import static org .junit .Assert .assertNotNull ;
16-
1716public class IVRContentTest {
1817 @ Test
1918 public void downloadIVRPromptContent () throws IOException , RestException {
@@ -31,8 +30,8 @@ public void downloadIVRPromptContent() throws IOException, RestException {
3130
3231 IVRPrompts ivrPrompts = rc .restapi ().account ().ivrprompts ().list ();
3332 PromptInfo promptInfo = rc .restapi ().account ().ivrprompts (ivrPrompts .records [0 ].id ).get ();
34- assertNotNull (promptInfo .id );
35- assertEquals (promptInfo .id , ivrPrompts .records [0 ].id );
33+ Assert . assertNotNull (promptInfo .id );
34+ Assert . assertEquals (promptInfo .id , ivrPrompts .records [0 ].id );
3635
3736// ResponseBody responseBody = rc.get("/restapi/v1.0/account/~/ivr-prompts/"+ promptInfo.id + "/content");
3837// byte[] bytes = responseBody.bytes();
@@ -95,7 +94,7 @@ public void afterHttpCall(Response response, Request request) {
9594
9695 IVRPrompts ivrPrompts = rc .restapi ().account ().ivrprompts ().list ();
9796 PromptInfo promptInfo = rc .restapi ().account ().ivrprompts (ivrPrompts .records [0 ].id ).get ();
98- assertNotNull (promptInfo .id );
97+ Assert . assertNotNull (promptInfo .id );
9998
10099// PromptInfo promptInfo = rc.restapi().account().ivrprompts().put(new CreateIvrPromptRequest()
101100// .name("Uploaded via API")
0 commit comments