File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
* the future returned by {@link DataLoader#load(Object)} to complete as soon as the individual value is available
12
12
* (rather than when all values have been retrieved).
13
13
* <p>
14
- * <b>NOTE:</b> It is <b>required </b> that {@link Subscriber#onNext(V )} is invoked on each value in the same order as
14
+ * <b>NOTE:</b> It is <b>required </b> that {@link Subscriber#onNext(Object )} is invoked on each value in the same order as
15
15
* the provided keys.
16
16
*
17
17
* @param <K> type parameter indicating the type of keys to use for data load requests.
Original file line number Diff line number Diff line change 5
5
import org .dataloader .fixtures .User ;
6
6
import org .dataloader .fixtures .UserManager ;
7
7
import org .dataloader .impl .CompletableFutureKit ;
8
- import org .junit .Test ;
8
+ import org .junit .jupiter . api . Test ;
9
9
import reactor .core .publisher .Flux ;
10
10
11
11
import java .util .ArrayList ;
30
30
import static org .dataloader .DataLoaderOptions .newOptions ;
31
31
import static org .dataloader .fixtures .TestKit .listFrom ;
32
32
import static org .dataloader .impl .CompletableFutureKit .cause ;
33
+ import static org .hamcrest .MatcherAssert .assertThat ;
33
34
import static org .hamcrest .Matchers .empty ;
34
35
import static org .hamcrest .Matchers .equalTo ;
35
36
import static org .hamcrest .Matchers .instanceOf ;
36
37
import static org .hamcrest .Matchers .is ;
37
- import static org .junit .Assert .assertArrayEquals ;
38
- import static org .junit .Assert .assertThat ;
38
+ import static org .junit .jupiter .api .Assertions .assertArrayEquals ;
39
39
40
40
public class DataLoaderBatchPublisherTest {
41
41
Original file line number Diff line number Diff line change 1
1
package org .dataloader ;
2
2
3
- import org .junit .Test ;
3
+ import org .junit .jupiter . api . Test ;
4
4
import reactor .core .publisher .Flux ;
5
5
6
6
import java .util .ArrayList ;
19
19
import static org .dataloader .DataLoaderOptions .newOptions ;
20
20
import static org .dataloader .fixtures .TestKit .listFrom ;
21
21
import static org .dataloader .impl .CompletableFutureKit .cause ;
22
+ import static org .hamcrest .MatcherAssert .assertThat ;
22
23
import static org .hamcrest .Matchers .equalTo ;
23
24
import static org .hamcrest .Matchers .instanceOf ;
24
25
import static org .hamcrest .Matchers .is ;
25
- import static org .junit .Assert .assertThat ;
26
26
27
27
public class DataLoaderMappedBatchPublisherTest {
28
28
You can’t perform that action at this time.
0 commit comments