PrimitiveSupplement primitiveSupplement = mock(PrimitiveSupplement.class);
SupplementWaveView supplementedView = mock(SupplementWaveView.class);
final HashedVersion signature1 = HashedVersion.of(234L, new byte[] { 1 }),
signature2 = HashedVersion.of(12828L, new byte[] { 2 });
WaveletId waveletId1 = WaveletId.of("example.com", "somewaveletid1");
when(supplementedView.getSignature(waveletId1)).thenReturn(signature1);
WaveletId waveletId2 = WaveletId.of("example.com", "somewaveletid2");
when(supplementedView.getSignature(waveletId2)).thenReturn(signature2);
when(supplementedView.getWavelets()).thenReturn(Arrays.asList(waveletId1, waveletId2));
SupplementedWaveImpl supplementedWave = new SupplementedWaveImpl(