verify(receiver).shoutWords("hello", "world");
}
@Test
public void shouldSendAsyncMessageWithPrimitiveArrays() {
FiberStub executor = new FiberStub();
Protocol<Mouse> protocol = Protocol.create(Mouse.class);
Mouse receiver = mock(Mouse.class);
protocol.subscribe(executor, receiver);
protocol.publisher().reciteNumbers(2, 4, 6, 8);
verifyZeroInteractions(receiver);
executor.executeAllPending();
verify(receiver).reciteNumbers(2, 4, 6, 8);
}