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 15
15
*/
16
16
package org .springframework .data .mongodb .core .convert ;
17
17
18
- import static org .hamcrest .CoreMatchers .*;
18
+ import static org .hamcrest .Matchers .*;
19
19
import static org .junit .Assert .*;
20
20
21
21
import java .math .BigDecimal ;
22
22
import java .util .Currency ;
23
23
import java .util .concurrent .atomic .AtomicInteger ;
24
24
import java .util .concurrent .atomic .AtomicLong ;
25
25
26
- import org .hamcrest .core .IsInstanceOf ;
27
26
import org .junit .Test ;
28
27
import org .springframework .data .geo .Box ;
29
28
import org .springframework .data .geo .Circle ;
@@ -169,14 +168,14 @@ public void convertsAtomicIntegerToIntegerCorrectly() {
169
168
*/
170
169
@ Test
171
170
public void convertsLongToAtomicLongCorrectly () {
172
- assertThat (LongToAtomicLongConverter .INSTANCE .convert (100L ), IsInstanceOf . instanceOf (AtomicLong .class ));
171
+ assertThat (LongToAtomicLongConverter .INSTANCE .convert (100L ), is ( instanceOf (AtomicLong .class ) ));
173
172
}
174
173
175
174
/**
176
175
* @see DATAMONGO-1416
177
176
*/
178
177
@ Test
179
178
public void convertsIntegerToAtomicIntegerCorrectly () {
180
- assertThat (IntegerToAtomicIntegerConverter .INSTANCE .convert (100 ), IsInstanceOf . instanceOf (AtomicInteger .class ));
179
+ assertThat (IntegerToAtomicIntegerConverter .INSTANCE .convert (100 ), is ( instanceOf (AtomicInteger .class ) ));
181
180
}
182
181
}
You can’t perform that action at this time.
0 commit comments