Renamed unit tests
This commit is contained in:
parent
e8979a4033
commit
d7c207145a
|
@ -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;
|
|
@ -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
|
|
@ -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;
|
Loading…
Reference in New Issue