@Test
public void callSystemInRead() throws IOException {

    InputStream inputStream = mock(InputStream.class);
    System.setIn(inputStream);
    PromptUtils promptUtils = new PromptUtils();
    promptUtils.promptForRecording();
    verify(inputStream).read();
}