@Test
public void testGetCurrentState()throws IllegalAccessException{

    PauseResumeAudioRecorder pauseResumeAudioRecorder=new PauseResumeAudioRecorder();
    currentAudioStateField.set(pauseResumeAudioRecorder, new AtomicInteger(PauseResumeAudioRecorder.RECORDING_STATE));
    Assert.assertEquals("States are not equal", PauseResumeAudioRecorder.RECORDING_STATE, ((AtomicInteger) currentAudioStateField.get(pauseResumeAudioRecorder)).get());
}