Month: June 2018
-
Spring 5 and JUNIT.
Let us try to put together some JUNITs with Spring 5 injection. One of the most challenging things of integrating JUnit and Spring was the role of the IDE. It is important to keep an eye on that. So here is the code we are going to look. @RunWith(SpringJUnit4ClassRunner.class)@ContextHierarchy({ @ContextConfiguration(classes = StreamsConfig.class)}) public class StreamsFilterSampleTest…