Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Commit

Permalink
use Truth instead of JUnit assertion in ClassPathScannerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Oct 30, 2018
1 parent 8907b15 commit 575f437
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
package org.opendaylight.infrautils.inject.tests;

import static org.junit.Assert.assertEquals;
import static com.google.common.truth.Truth.assertThat;

import java.util.HashMap;
import java.util.Map;
Expand All @@ -26,6 +26,7 @@ public void setup() {

@Test
public void verifyImplementationBinding() {
assertEquals(ClassPathScannerTestImplementation.class, bindings.get(ClassPathScannerTestTopInterface.class));
assertThat(bindings).containsExactly(
ClassPathScannerTestTopInterface.class, ClassPathScannerTestImplementation.class);
}
}

0 comments on commit 575f437

Please sign in to comment.