public void testCannotSubmitAsDifferentUser() {
ParticipantId otherParticipant = new ParticipantId("another@example.com");
OpenListener openListener = openWave(IdFilters.ALL_IDS);
String channelId = verifyChannelId(openListener);
SubmitRequestListener submitListener = mock(SubmitRequestListener.class);
clientFrontend.submitRequest(otherParticipant, WN1, SERIALIZED_DELTA, channelId,
submitListener);
verify(submitListener).onFailure(anyString());
verify(submitListener, never()).onSuccess(anyInt(), (HashedVersion) any(), anyLong());
}