#31 - Move away from deprecated assertion methods in Spring 5.
We now consistently use Assert.notNull(…) et al that take an error message as the overload without a message have been deprecated in Spring 5. Added build profile for Spring 5 releases and snapshots.
This commit is contained in:
@@ -39,8 +39,7 @@ public class BeanListFactoryBeanUnitTest {
|
||||
|
||||
BeanListFactoryBean<Ordered> factory;
|
||||
|
||||
@Mock
|
||||
ApplicationContext context;
|
||||
@Mock ApplicationContext context;
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
@@ -52,6 +51,7 @@ public class BeanListFactoryBeanUnitTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
public void regardsOrderOfBeans() throws Exception {
|
||||
|
||||
// They shall be switched in the result.
|
||||
|
||||
Reference in New Issue
Block a user