commit
stringclasses
20 values
type
stringclasses
21 values
description
stringlengths
127
412
old_signature
stringlengths
20
206
new_signature
stringlengths
20
232
old_name
stringlengths
4
36
new_name
stringlengths
4
36
old_arguments
stringlengths
0
153
new_arguments
stringlengths
0
190
old_return_type
stringlengths
4
35
new_return_type
stringlengths
4
37
old_implementation
stringlengths
14
1.65k
new_implementation
stringlengths
14
1.45k
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Assert Throws
Assert Throws assertThrows(IllegalArgumentException.class,() -> { in method public shouldFailForMethodWithoutParameters() : void from class io.eventuate.tram.common.test.TypeParameterExtractorTest
public shouldFailForMethodWithoutParameters() : void
public shouldFailForMethodWithoutParameters() : void
shouldFailForMethodWithoutParameters
shouldFailForMethodWithoutParameters
void
void
Method method = getClass().getMethod("handleCommandWithoutGenericType", String.class); TypeParameterExtractor.extractTypeParameter(method);
assertThrows(IllegalArgumentException.class, () -> { Method method = getClass().getMethod("handleCommandWithoutGenericType", String.class); TypeParameterExtractor.extractTypeParameter(method); });
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Modify Method Annotation
Modify Method Annotation @Test(expected = IllegalArgumentException.class) to @Test in method public shouldFailForMethodWithoutParameters() : void from class io.eventuate.tram.common.test.TypeParameterExtractorTest
public shouldFailForMethodWithoutParameters() : void
public shouldFailForMethodWithoutParameters() : void
shouldFailForMethodWithoutParameters
shouldFailForMethodWithoutParameters
void
void
Method method = getClass().getMethod("handleCommandWithoutGenericType", String.class); TypeParameterExtractor.extractTypeParameter(method);
assertThrows(IllegalArgumentException.class, () -> { Method method = getClass().getMethod("handleCommandWithoutGenericType", String.class); TypeParameterExtractor.extractTypeParameter(method); });
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Add Method Annotation
Add Method Annotation @BeforeEach in method public createCustomDB() : void from class io.eventuate.tram.broker.db.integrationtests.TramIntegrationCustomDBTest
public createCustomDB() : void
public createCustomDB() : void
createCustomDB
createCustomDB
void
void
customDBCreator.create();
customDBCreator.create();
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Remove Method Annotation
Remove Method Annotation @Before in method public createCustomDB() : void from class io.eventuate.tram.broker.db.integrationtests.TramIntegrationCustomDBTest
public createCustomDB() : void
public createCustomDB() : void
createCustomDB
createCustomDB
void
void
customDBCreator.create();
customDBCreator.create();
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Add Method Annotation
Add Method Annotation @BeforeEach in method public setup() : void from class io.eventuate.tram.reactive.commands.ReactiveAbstractCommandDispatchingTests
public setup() : void
public setup() : void
setup
setup
void
void
ReactiveInMemoryMessageConsumer inMemoryMessageConsumer = new ReactiveInMemoryMessageConsumer(); ChannelMapping channelMapping = new DefaultChannelMapping.DefaultChannelMappingBuilder().build(); ReactiveMessageProducer messageProducer = new ReactiveMessageProducer(new MessageInterceptor[0], channelMapp...
ReactiveInMemoryMessageConsumer inMemoryMessageConsumer = new ReactiveInMemoryMessageConsumer(); ChannelMapping channelMapping = new DefaultChannelMapping.DefaultChannelMappingBuilder().build(); ReactiveMessageProducer messageProducer = new ReactiveMessageProducer(new MessageInterceptor[0], channelMapp...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Remove Method Annotation
Remove Method Annotation @Before in method public setup() : void from class io.eventuate.tram.reactive.commands.ReactiveAbstractCommandDispatchingTests
public setup() : void
public setup() : void
setup
setup
void
void
ReactiveInMemoryMessageConsumer inMemoryMessageConsumer = new ReactiveInMemoryMessageConsumer(); ChannelMapping channelMapping = new DefaultChannelMapping.DefaultChannelMappingBuilder().build(); ReactiveMessageProducer messageProducer = new ReactiveMessageProducer(new MessageInterceptor[0], channelMapp...
ReactiveInMemoryMessageConsumer inMemoryMessageConsumer = new ReactiveInMemoryMessageConsumer(); ChannelMapping channelMapping = new DefaultChannelMapping.DefaultChannelMappingBuilder().build(); ReactiveMessageProducer messageProducer = new ReactiveMessageProducer(new MessageInterceptor[0], channelMapp...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Add Method Annotation
Add Method Annotation @BeforeEach in method public setup() : void from class io.eventuate.tram.reactive.commands.ReactiveCommandDispatchingTests
public setup() : void
public setup() : void
setup
setup
void
void
super.setup(); testMessageConsumer = ReactiveTestMessageConsumer.subscribeTo(messageConsumer, replyTo);
super.setup(); testMessageConsumer = ReactiveTestMessageConsumer.subscribeTo(messageConsumer, replyTo);
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Add Method Annotation
Add Method Annotation @BeforeEach in method public init() : void from class io.eventuate.tram.reactive.commands.consumer.ReactiveCommandDispatcherTest
public init() : void
public init() : void
init
init
void
void
when(commandHandler.getCommandClass()).thenReturn(Object.class); when(commandHandlers.findTargetMethod(any())).thenReturn(Optional.of(commandHandler)); when(messageProducer.send(any(), any())).thenReturn(Mono.just(replyMessage)); this.commandReplyProducer = new ReactiveCommandReplyProducer(messageProducer)...
when(commandHandler.getCommandClass()).thenReturn(Object.class); when(commandHandlers.findTargetMethod(any())).thenReturn(Optional.of(commandHandler)); when(messageProducer.send(any(), any())).thenReturn(Mono.just(replyMessage)); this.commandReplyProducer = new ReactiveCommandReplyProducer(messageProducer)...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Remove Method Annotation
Remove Method Annotation @Before in method public init() : void from class io.eventuate.tram.reactive.commands.consumer.ReactiveCommandDispatcherTest
public init() : void
public init() : void
init
init
void
void
when(commandHandler.getCommandClass()).thenReturn(Object.class); when(commandHandlers.findTargetMethod(any())).thenReturn(Optional.of(commandHandler)); when(messageProducer.send(any(), any())).thenReturn(Mono.just(replyMessage)); this.commandReplyProducer = new ReactiveCommandReplyProducer(messageProducer)...
when(commandHandler.getCommandClass()).thenReturn(Object.class); when(commandHandlers.findTargetMethod(any())).thenReturn(Optional.of(commandHandler)); when(messageProducer.send(any(), any())).thenReturn(Mono.just(replyMessage)); this.commandReplyProducer = new ReactiveCommandReplyProducer(messageProducer)...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Add Method Annotation
Add Method Annotation @BeforeEach in method public setUp() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventDispatcherTest
public setUp() : void
public setUp() : void
setUp
setUp
void
void
domainEventDispatcherFactory = mock(DomainEventDispatcherFactory.class); dispatcher = new EventuateDomainEventDispatcher(domainEventDispatcherFactory);
domainEventDispatcherFactory = mock(DomainEventDispatcherFactory.class); dispatcher = new EventuateDomainEventDispatcher(domainEventDispatcherFactory);
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Remove Method Annotation
Remove Method Annotation @Before in method public setUp() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventDispatcherTest
public setUp() : void
public setUp() : void
setUp
setUp
void
void
domainEventDispatcherFactory = mock(DomainEventDispatcherFactory.class); dispatcher = new EventuateDomainEventDispatcher(domainEventDispatcherFactory);
domainEventDispatcherFactory = mock(DomainEventDispatcherFactory.class); dispatcher = new EventuateDomainEventDispatcher(domainEventDispatcherFactory);
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Assert Throws
Assert Throws assertThrows(EventuateDomainEventHandlerValidationException.class,() -> { in method public shouldRejectNonPublicHandler() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventHandlerMethodValidatorTest
public shouldRejectNonPublicHandler() : void
public shouldRejectNonPublicHandler() : void
shouldRejectNonPublicHandler
shouldRejectNonPublicHandler
void
void
Method method = NonPublicHandler.class.getDeclaredMethod("handleEvent", DomainEventEnvelope.class); NonPublicHandler handler = new NonPublicHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test", "test", method); EventuateDomainEventHandlerMethodValidator.val...
assertThrows(EventuateDomainEventHandlerValidationException.class, () -> { Method method = NonPublicHandler.class.getDeclaredMethod("handleEvent", DomainEventEnvelope.class); NonPublicHandler handler = new NonPublicHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Modify Method Annotation
Modify Method Annotation @Test(expected = EventuateDomainEventHandlerValidationException.class) to @Test in method public shouldRejectNonPublicHandler() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventHandlerMethodValidatorTest
public shouldRejectNonPublicHandler() : void
public shouldRejectNonPublicHandler() : void
shouldRejectNonPublicHandler
shouldRejectNonPublicHandler
void
void
Method method = NonPublicHandler.class.getDeclaredMethod("handleEvent", DomainEventEnvelope.class); NonPublicHandler handler = new NonPublicHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test", "test", method); EventuateDomainEventHandlerMethodValidator.val...
assertThrows(EventuateDomainEventHandlerValidationException.class, () -> { Method method = NonPublicHandler.class.getDeclaredMethod("handleEvent", DomainEventEnvelope.class); NonPublicHandler handler = new NonPublicHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Assert Throws
Assert Throws assertThrows(EventuateDomainEventHandlerValidationException.class,() -> { in method public shouldRejectWrongParameterType() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventHandlerMethodValidatorTest
public shouldRejectWrongParameterType() : void
public shouldRejectWrongParameterType() : void
shouldRejectWrongParameterType
shouldRejectWrongParameterType
void
void
Method method = WrongParameterTypeHandler.class.getMethod("handleEvent", TestEvent.class); WrongParameterTypeHandler handler = new WrongParameterTypeHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test", "test", method); EventuateDomainEventHandlerMethodVali...
assertThrows(EventuateDomainEventHandlerValidationException.class, () -> { Method method = WrongParameterTypeHandler.class.getMethod("handleEvent", TestEvent.class); WrongParameterTypeHandler handler = new WrongParameterTypeHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerI...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Modify Method Annotation
Modify Method Annotation @Test(expected = EventuateDomainEventHandlerValidationException.class) to @Test in method public shouldRejectWrongParameterType() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventHandlerMethodValidatorTest
public shouldRejectWrongParameterType() : void
public shouldRejectWrongParameterType() : void
shouldRejectWrongParameterType
shouldRejectWrongParameterType
void
void
Method method = WrongParameterTypeHandler.class.getMethod("handleEvent", TestEvent.class); WrongParameterTypeHandler handler = new WrongParameterTypeHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test", "test", method); EventuateDomainEventHandlerMethodVali...
assertThrows(EventuateDomainEventHandlerValidationException.class, () -> { Method method = WrongParameterTypeHandler.class.getMethod("handleEvent", TestEvent.class); WrongParameterTypeHandler handler = new WrongParameterTypeHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerI...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Assert Throws
Assert Throws assertThrows(EventuateDomainEventHandlerValidationException.class,() -> { in method public shouldRejectRawType() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventHandlerMethodValidatorTest
public shouldRejectRawType() : void
public shouldRejectRawType() : void
shouldRejectRawType
shouldRejectRawType
void
void
Method method = RawTypeHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); RawTypeHandler handler = new RawTypeHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test", "test", method); EventuateDomainEventHandlerMethodValidator.validateEventHand...
assertThrows(EventuateDomainEventHandlerValidationException.class, () -> { Method method = RawTypeHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); RawTypeHandler handler = new RawTypeHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Modify Method Annotation
Modify Method Annotation @Test(expected = EventuateDomainEventHandlerValidationException.class) to @Test in method public shouldRejectRawType() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventHandlerMethodValidatorTest
public shouldRejectRawType() : void
public shouldRejectRawType() : void
shouldRejectRawType
shouldRejectRawType
void
void
Method method = RawTypeHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); RawTypeHandler handler = new RawTypeHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test", "test", method); EventuateDomainEventHandlerMethodValidator.validateEventHand...
assertThrows(EventuateDomainEventHandlerValidationException.class, () -> { Method method = RawTypeHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); RawTypeHandler handler = new RawTypeHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Assert Throws
Assert Throws assertThrows(EventuateDomainEventHandlerValidationException.class,() -> { in method public shouldRejectEmptySubscriberId() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventHandlerMethodValidatorTest
public shouldRejectEmptySubscriberId() : void
public shouldRejectEmptySubscriberId() : void
shouldRejectEmptySubscriberId
shouldRejectEmptySubscriberId
void
void
Method method = ValidHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); ValidHandler handler = new ValidHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "", "test", method); EventuateDomainEventHandlerMethodValidator.validateEventHandlerMethod(...
assertThrows(EventuateDomainEventHandlerValidationException.class, () -> { Method method = ValidHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); ValidHandler handler = new ValidHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "", "test",...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Modify Method Annotation
Modify Method Annotation @Test(expected = EventuateDomainEventHandlerValidationException.class) to @Test in method public shouldRejectEmptySubscriberId() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventHandlerMethodValidatorTest
public shouldRejectEmptySubscriberId() : void
public shouldRejectEmptySubscriberId() : void
shouldRejectEmptySubscriberId
shouldRejectEmptySubscriberId
void
void
Method method = ValidHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); ValidHandler handler = new ValidHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "", "test", method); EventuateDomainEventHandlerMethodValidator.validateEventHandlerMethod(...
assertThrows(EventuateDomainEventHandlerValidationException.class, () -> { Method method = ValidHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); ValidHandler handler = new ValidHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "", "test",...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Assert Throws
Assert Throws assertThrows(EventuateDomainEventHandlerValidationException.class,() -> { in method public shouldRejectEmptyChannel() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventHandlerMethodValidatorTest
public shouldRejectEmptyChannel() : void
public shouldRejectEmptyChannel() : void
shouldRejectEmptyChannel
shouldRejectEmptyChannel
void
void
Method method = ValidHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); ValidHandler handler = new ValidHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test", "", method); EventuateDomainEventHandlerMethodValidator.validateEventHandlerMethod(...
assertThrows(EventuateDomainEventHandlerValidationException.class, () -> { Method method = ValidHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); ValidHandler handler = new ValidHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test", "",...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Modify Method Annotation
Modify Method Annotation @Test(expected = EventuateDomainEventHandlerValidationException.class) to @Test in method public shouldRejectEmptyChannel() : void from class io.eventuate.tram.spring.events.subscriber.EventuateDomainEventHandlerMethodValidatorTest
public shouldRejectEmptyChannel() : void
public shouldRejectEmptyChannel() : void
shouldRejectEmptyChannel
shouldRejectEmptyChannel
void
void
Method method = ValidHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); ValidHandler handler = new ValidHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test", "", method); EventuateDomainEventHandlerMethodValidator.validateEventHandlerMethod(...
assertThrows(EventuateDomainEventHandlerValidationException.class, () -> { Method method = ValidHandler.class.getMethod("handleEvent", DomainEventEnvelope.class); ValidHandler handler = new ValidHandler(); EventuateDomainEventHandlerInfo info = EventuateDomainEventHandlerInfo.make(handler, "test", "",...
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Add Method Annotation
Add Method Annotation @BeforeEach in method public setUp() : void from class io.eventuate.tram.spring.inmemory.InMemoryMessageProducerTest
public setUp() : void
public setUp() : void
setUp
setUp
void
void
super.setUp();
super.setUp();
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Remove Method Annotation
Remove Method Annotation @Before in method public setUp() : void from class io.eventuate.tram.spring.inmemory.InMemoryMessageProducerTest
public setUp() : void
public setUp() : void
setUp
setUp
void
void
super.setUp();
super.setUp();
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Move Code
Move Code from public shouldDetectDuplicate() : void to public setUp() : void in class io.eventuate.tram.spring.reactive.consumer.jdbc.EventuateSpringReactiveSqlTableBasedDuplicateMessageDetectorTest
public shouldDetectDuplicate() : void
public setUp() : void
shouldDetectDuplicate
setUp
void
void
String consumerId = getClass().getName(); String messageId = Long.toString(System.currentTimeMillis()); Message message = new MessageImpl(); message.setHeader(Message.ID, messageId); SubscriberIdAndMessage subscriberIdAndMessage = new SubscriberIdAndMessage(consumerId, message); assertFalse(dupli...
String consumerId = getClass().getName(); String messageId = Long.toString(System.currentTimeMillis()); Message message = new MessageImpl(); message.setHeader(Message.ID, messageId); subscriberIdAndMessage = new SubscriberIdAndMessage(consumerId, message);
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Add Method Annotation
Add Method Annotation @BeforeEach in method public init() : void from class io.eventuate.tram.reactive.integrationtests.events.ReactiveTramEventIntegrationTest
public init() : void
public init() : void
init
init
void
void
aggregateId = IdSupplier.get(); payload = IdSupplier.get(); additionalAggregateId = IdSupplier.get(); additionalPayload = IdSupplier.get();
aggregateId = IdSupplier.get(); payload = IdSupplier.get(); additionalAggregateId = IdSupplier.get(); additionalPayload = IdSupplier.get();
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Remove Method Annotation
Remove Method Annotation @Before in method public init() : void from class io.eventuate.tram.reactive.integrationtests.events.ReactiveTramEventIntegrationTest
public init() : void
public init() : void
init
init
void
void
aggregateId = IdSupplier.get(); payload = IdSupplier.get(); additionalAggregateId = IdSupplier.get(); additionalPayload = IdSupplier.get();
aggregateId = IdSupplier.get(); payload = IdSupplier.get(); additionalAggregateId = IdSupplier.get(); additionalPayload = IdSupplier.get();
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Add Method Annotation
Add Method Annotation @BeforeEach in method public init() : void from class io.eventuate.tram.reactive.integrationtests.events.ReactiveTramEventTransactionIntegrationTest
public init() : void
public init() : void
init
init
void
void
aggregateId = IdSupplier.get(); payload = IdSupplier.get();
aggregateId = IdSupplier.get(); payload = IdSupplier.get();
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Remove Method Annotation
Remove Method Annotation @Before in method public init() : void from class io.eventuate.tram.reactive.integrationtests.events.ReactiveTramEventTransactionIntegrationTest
public init() : void
public init() : void
init
init
void
void
aggregateId = IdSupplier.get(); payload = IdSupplier.get();
aggregateId = IdSupplier.get(); payload = IdSupplier.get();
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Add Method Annotation
Add Method Annotation @BeforeEach in method public init() : void from class io.eventuate.tram.reactive.integrationtests.messaging.ReactiveTramMessagingIntegrationTest
public init() : void
public init() : void
init
init
void
void
destination = IdSupplier.get(); subscriberId = IdSupplier.get(); payload = "\"" + IdSupplier.get() + "\"";
destination = IdSupplier.get(); subscriberId = IdSupplier.get(); payload = "\"" + IdSupplier.get() + "\"";
c1b5be1d9c70fa2f05791df5500fa074fc348c93
Remove Method Annotation
Remove Method Annotation @Before in method public init() : void from class io.eventuate.tram.reactive.integrationtests.messaging.ReactiveTramMessagingIntegrationTest
public init() : void
public init() : void
init
init
void
void
destination = IdSupplier.get(); subscriberId = IdSupplier.get(); payload = "\"" + IdSupplier.get() + "\"";
destination = IdSupplier.get(); subscriberId = IdSupplier.get(); payload = "\"" + IdSupplier.get() + "\"";
f782911721d80859deefc5b4d4a48fc7dae1ab7b
Change Method Access Modifier
Change Method Access Modifier private to public in method public findMessagesSentToChannel(channel String) : List<Message> from class io.eventuate.tram.spring.testing.outbox.commands.CommandOutboxTestSupport
private findMessagesSentToChannel(channel String) : List<Message>
public findMessagesSentToChannel(channel String) : List<Message>
findMessagesSentToChannel
findMessagesSentToChannel
channel String
channel String
List<Message>
List<Message>
return jdbcTemplate.query("select headers,payload from message where destination = ?", (rs, rowNum) -> { String headers = rs.getString("headers"); String payload = rs.getString("payload"); return MessageBuilder.withPayload(payload).withExtraHeaders("", JSonMapper.fromJson(headers, Map.class)).build();...
return messageOutboxTestSupport.findMessagesSentToChannel(channel);