GH-264 Simplified signagure for Supplier

This commit is contained in:
Oleg Zhurakousky
2019-04-03 09:42:34 +02:00
parent edba4c428e
commit 3fed1f1cd4
2 changed files with 5 additions and 1 deletions

View File

@@ -125,7 +125,7 @@ public class AzureSpringBootRequestHandlerTests {
@Test
public void supplierNonFluxBean() {
AzureSpringBootRequestHandler<Void, List<String>> handler = handler(NonFluxSupplierConfig.class);
List<String> result = handler.handleRequest(null, new TestExecutionContext("supplier"));
List<String> result = handler.handleRequest(new TestExecutionContext("supplier"));
assertThat(result).isNotEmpty();
assertThat(result.toString()).isEqualTo("[foo1, foo2]");