Skip to content

Commit

Permalink
DATALDAP-7 - Migrate tests to AssertJ.
Browse files Browse the repository at this point in the history
Switch remaining tests to AssertJ.
  • Loading branch information
mp911de committed Dec 6, 2016
1 parent 1e35b62 commit d594183
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -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;
Expand All @@ -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();
}
}

0 comments on commit d594183

Please sign in to comment.