DATALDAP-7 - Migrate tests to AssertJ.

Switch remaining tests to AssertJ.
This commit is contained in:
Mark Paluch
2016-12-06 11:27:10 +01:00
parent 1e35b624b7
commit d594183e8d

View File

@@ -15,9 +15,7 @@
*/
package org.springframework.data.ldap.config;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.*;
import static org.assertj.core.api.Assertions.*;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -39,6 +37,6 @@ public class LdapNamespaceHandlerTests {
@Test // DATALDAP-1
public void shouldCreateRepository() {
assertThat(context.getBean(DummyLdapRepository.class), is(notNullValue()));
assertThat(context.getBean(DummyLdapRepository.class)).isNotNull();
}
}