Fix typos
See gh-2019
This commit is contained in:
@@ -38,7 +38,7 @@ public interface DestinationResolvingMessageRequestReplyOperations<D> extends Me
|
||||
* Resolve the given destination name to a destination and send the given message,
|
||||
* receive a reply and return it.
|
||||
* @param destinationName the name of the target destination
|
||||
* @param requestMessage the mesage to send
|
||||
* @param requestMessage the message to send
|
||||
* @return the received message, possibly {@code null} if the message could not
|
||||
* be received, for example due to a timeout
|
||||
*/
|
||||
|
||||
@@ -42,13 +42,13 @@ import static org.mockito.Mockito.*;
|
||||
*/
|
||||
public class BrokerMessageHandlerTests {
|
||||
|
||||
private TestBrokerMesageHandler handler;
|
||||
private TestBrokerMessageHandler handler;
|
||||
|
||||
|
||||
@Before
|
||||
public void setup() {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
this.handler = new TestBrokerMesageHandler();
|
||||
this.handler = new TestBrokerMessageHandler();
|
||||
}
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ public class BrokerMessageHandlerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void publishBrokerUnavailableEventWhenAlreadyUnvailable() {
|
||||
public void publishBrokerUnavailableEventWhenAlreadyUnavailable() {
|
||||
|
||||
this.handler.publishBrokerAvailableEvent();
|
||||
this.handler.publishBrokerUnavailableEvent();
|
||||
@@ -126,7 +126,7 @@ public class BrokerMessageHandlerTests {
|
||||
}
|
||||
|
||||
|
||||
private static class TestBrokerMesageHandler extends AbstractBrokerMessageHandler
|
||||
private static class TestBrokerMessageHandler extends AbstractBrokerMessageHandler
|
||||
implements ApplicationEventPublisher {
|
||||
|
||||
private final List<Message<?>> messages = new ArrayList<>();
|
||||
@@ -134,7 +134,7 @@ public class BrokerMessageHandlerTests {
|
||||
private final List<Boolean> availabilityEvents = new ArrayList<>();
|
||||
|
||||
|
||||
private TestBrokerMesageHandler() {
|
||||
private TestBrokerMessageHandler() {
|
||||
super(mock(SubscribableChannel.class), mock(MessageChannel.class), mock(SubscribableChannel.class));
|
||||
setApplicationEventPublisher(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user