public void testGetMissingDataReturnsForbidden() throws Exception {
WaveletData wavelet = waveletProvider.getHostedWavelet();
WaveId waveId = wavelet.getWaveId();
WaveletId waveletId = wavelet.getWaveletId();
WaveRef unknownWave = WaveRef.of(WaveId.of(waveId.getDomain(), waveId.getId() + "junk"));
verifyServletReturnsForbiddenForWaveref(unknownWave);
WaveRef unknownWavelet = WaveRef.of(waveId, WaveletId.of(waveletId.getDomain(), waveletId.getId() + "junk"));
verifyServletReturnsForbiddenForWaveref(unknownWavelet);
WaveRef unknownDocument = WaveRef.of(waveId, waveletId, "madeupdocid");
verifyServletReturnsForbiddenForWaveref(unknownDocument);
}