File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1111 * the future returned by {@link DataLoader#load(Object)} to complete as soon as the individual value is available
1212 * (rather than when all values have been retrieved).
1313 * <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
1515 * the provided keys.
1616 *
1717 * @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 55import org .dataloader .fixtures .User ;
66import org .dataloader .fixtures .UserManager ;
77import org .dataloader .impl .CompletableFutureKit ;
8- import org .junit .Test ;
8+ import org .junit .jupiter . api . Test ;
99import reactor .core .publisher .Flux ;
1010
1111import java .util .ArrayList ;
3030import static org .dataloader .DataLoaderOptions .newOptions ;
3131import static org .dataloader .fixtures .TestKit .listFrom ;
3232import static org .dataloader .impl .CompletableFutureKit .cause ;
33+ import static org .hamcrest .MatcherAssert .assertThat ;
3334import static org .hamcrest .Matchers .empty ;
3435import static org .hamcrest .Matchers .equalTo ;
3536import static org .hamcrest .Matchers .instanceOf ;
3637import 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 ;
3939
4040public class DataLoaderBatchPublisherTest {
4141
Original file line number Diff line number Diff line change 11package org .dataloader ;
22
3- import org .junit .Test ;
3+ import org .junit .jupiter . api . Test ;
44import reactor .core .publisher .Flux ;
55
66import java .util .ArrayList ;
1919import static org .dataloader .DataLoaderOptions .newOptions ;
2020import static org .dataloader .fixtures .TestKit .listFrom ;
2121import static org .dataloader .impl .CompletableFutureKit .cause ;
22+ import static org .hamcrest .MatcherAssert .assertThat ;
2223import static org .hamcrest .Matchers .equalTo ;
2324import static org .hamcrest .Matchers .instanceOf ;
2425import static org .hamcrest .Matchers .is ;
25- import static org .junit .Assert .assertThat ;
2626
2727public class DataLoaderMappedBatchPublisherTest {
2828
You can’t perform that action at this time.
0 commit comments