added NamedComponent interface, continuing simplification of MessageHistory
This commit is contained in:
@@ -63,7 +63,7 @@ public class FileInboundChannelAdapterParserTests {
|
||||
@Test
|
||||
public void channelName() throws Exception {
|
||||
AbstractMessageChannel channel = context.getBean("inputDirPoller", AbstractMessageChannel.class);
|
||||
assertEquals("Channel should be available under specified id", "inputDirPoller", channel.getName());
|
||||
assertEquals("Channel should be available under specified id", "inputDirPoller", channel.getComponentName());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -69,7 +69,7 @@ public class FileInboundChannelAdapterWithPatternParserTests {
|
||||
@Test
|
||||
public void channelName() {
|
||||
AbstractMessageChannel channel = context.getBean("adapterWithPattern", AbstractMessageChannel.class);
|
||||
assertEquals("adapterWithPattern", channel.getName());
|
||||
assertEquals("adapterWithPattern", channel.getComponentName());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user