|
1 | 1 | /* |
2 | | - * Copyright 2017 the original author or authors. |
| 2 | + * Copyright 2017-2018 the original author or authors. |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
|
16 | 16 |
|
17 | 17 | package io.projectriff.invoker; |
18 | 18 |
|
| 19 | +import static org.hamcrest.Matchers.containsString; |
| 20 | +import static org.hamcrest.Matchers.is; |
| 21 | +import static org.junit.Assert.assertThat; |
| 22 | + |
19 | 23 | import java.util.function.Consumer; |
20 | 24 | import java.util.function.Function; |
21 | 25 | import java.util.function.Supplier; |
|
27 | 31 | import org.springframework.beans.factory.annotation.Autowired; |
28 | 32 | import org.springframework.boot.test.context.SpringBootTest; |
29 | 33 | import org.springframework.boot.test.rule.OutputCapture; |
30 | | -import org.springframework.cloud.function.context.catalog.InMemoryFunctionCatalog; |
| 34 | +import org.springframework.cloud.function.context.InMemoryFunctionCatalog; |
31 | 35 | import org.springframework.cloud.function.core.FunctionCatalog; |
32 | 36 | import org.springframework.test.annotation.DirtiesContext; |
33 | 37 | import org.springframework.test.context.TestPropertySource; |
34 | 38 | import org.springframework.test.context.junit4.SpringRunner; |
35 | 39 |
|
36 | | -import static org.hamcrest.Matchers.containsString; |
37 | | -import static org.hamcrest.Matchers.is; |
38 | | -import static org.junit.Assert.assertThat; |
39 | | - |
40 | 40 | @RunWith(SpringRunner.class) |
41 | 41 | @SpringBootTest(classes = { FunctionConfiguration.class, FunctionProperties.class, |
42 | 42 | InMemoryFunctionCatalog.class }) |
|
0 commit comments