shadows/framework/src/main/java/org/robolectric/shadows/ShadowSoundPool.java
public boolean wasPathPlayed(String path) {
    for (Playback playback : playedSounds) {
      if (idIsForPath(playback.soundId, path)) {
        return true;
      }
    }
    return false;
  }
public boolean wasPathPlayed(String path) {
    for (Playback playback : playedSounds) {
      if (idIsForPath(playback.soundId, path)) {
        return true;
      }
    }
    return false;
  }
public boolean wasPathPlayed ( String path ) { for ( Playback playback : playedSounds ) { if ( idIsForPath ( playback . soundId , path ) ) { return true ; } } return false ; }
Returns {@code true} if the given path was played.
Returns {