File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/convert Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1515 */
1616package org .springframework .data .mongodb .core .convert ;
1717
18- import static org .hamcrest .CoreMatchers .*;
18+ import static org .hamcrest .Matchers .*;
1919import static org .junit .Assert .*;
2020
2121import java .math .BigDecimal ;
2222import java .util .Currency ;
2323import java .util .concurrent .atomic .AtomicInteger ;
2424import java .util .concurrent .atomic .AtomicLong ;
2525
26- import org .hamcrest .core .IsInstanceOf ;
2726import org .junit .Test ;
2827import org .springframework .data .geo .Box ;
2928import org .springframework .data .geo .Circle ;
@@ -169,14 +168,14 @@ public void convertsAtomicIntegerToIntegerCorrectly() {
169168 */
170169@ Test
171170public void convertsLongToAtomicLongCorrectly () {
172- assertThat (LongToAtomicLongConverter .INSTANCE .convert (100L ), IsInstanceOf . instanceOf (AtomicLong .class ));
171+ assertThat (LongToAtomicLongConverter .INSTANCE .convert (100L ), is ( instanceOf (AtomicLong .class ) ));
173172}
174173
175174/**
176175 * @see DATAMONGO-1416
177176 */
178177@ Test
179178public void convertsIntegerToAtomicIntegerCorrectly () {
180- assertThat (IntegerToAtomicIntegerConverter .INSTANCE .convert (100 ), IsInstanceOf . instanceOf (AtomicInteger .class ));
179+ assertThat (IntegerToAtomicIntegerConverter .INSTANCE .convert (100 ), is ( instanceOf (AtomicInteger .class ) ));
181180}
182181}
You can’t perform that action at this time.
0 commit comments