Renamed unit tests

This commit is contained in:
Jose Carvajal 2017-10-30 13:39:39 +01:00
parent e8979a4033
commit d7c207145a
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ import com.baeldung.spring.cloud.stream.rabbit.processor.MyProcessor;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = MultipleOutputsServiceApplication.class)
@DirtiesContext
public class MultipleOutputsServiceApplicationTests {
public class MultipleOutputsServiceApplicationUnitTest {
@Autowired
private MyProcessor pipe;

View File

@ -17,7 +17,7 @@ import com.baeldung.spring.cloud.stream.rabbit.processor.MyProcessor;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = MultipleOutputsWithConditionsServiceApplication.class)
@DirtiesContext
public class MultipleOutputsWithConditionsServiceApplicationTests {
public class MultipleOutputsWithConditionsServiceUnitTest {
@Autowired
private MyProcessor pipe;
@ -28,7 +28,7 @@ public class MultipleOutputsWithConditionsServiceApplicationTests {
@Test
public void whenSendMessage_thenResponseIsInAOutput() {
whenSendMessage(1);
thenPayloadInChannelIs(pipe.anotherOutput(), 1);
thenPayloadInChannelIs(pipe.anOutput(), 1);
}
@Test

View File

@ -17,7 +17,7 @@ import com.baeldung.spring.cloud.stream.rabbit.model.LogMessage;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = MyLoggerServiceApplication.class)
@DirtiesContext
public class MyLoggerApplicationTests {
public class MyLoggerApplicationUnitTest {
@Autowired
private Processor pipe;