Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void shouldReturnAllPassedParameters() {

@Test
public void shouldReturnEmptyPassedParameters() {
Map<String, String> paramMap = new HashMap<String, String>() {
Map<String, String> paramMap = new HashMap<>() {
{
put("paramKey", "");
}
Expand All @@ -134,7 +134,7 @@ public void shouldReturnEmptyPassedParameters() {
@Test
public void shouldReturnAllPassedParametersNew() {

Map<String, String> paramMap = new HashMap<String, String>() {
Map<String, String> paramMap = new HashMap<>() {
{
put("paramKey", "paramValue");
}
Expand Down Expand Up @@ -209,7 +209,7 @@ public void shouldReturnEmptyOnNullPassedListParametersNew() {
@Test
public void shouldReturnAllPassedMapParametersNew() {

Map<String, List<String>> paramMap = new HashMap<String, List<String>>() {
Map<String, List<String>> paramMap = new HashMap<>() {
{
put("paramKey", asList("paramValue1", "paramValue2"));
}
Expand All @@ -232,7 +232,7 @@ public void shouldReturnEmptyOnNullPassedMapParametersNew() {

@Test
public void shouldReturnAllPassedHeaders() {
Map<String, String> headersMap = new HashMap<String, String>() {
Map<String, String> headersMap = new HashMap<>() {
{
put("headerKey1", "headerValue1");
put("headerKey2", "headerValue2");
Expand All @@ -257,7 +257,7 @@ public void shouldReturnAllPassedListHeaders() {

@Test
public void shouldReturnAllPassedMultiMapHeaders() {
Map<String, List<String>> headersMap = new HashMap<String, List<String>>() {
Map<String, List<String>> headersMap = new HashMap<>() {
{
put("headerKey1", List.of("headerValue1, headerValue2"));
}
Expand Down Expand Up @@ -290,7 +290,7 @@ public void shouldReturnBody() {

@Test
public void shouldReturnBodyMap() {
Map<String, String> bodyMap = new HashMap<String, String>() {
Map<String, String> bodyMap = new HashMap<>() {
{
put("key1", "value1");
put("key2", "value2");
Expand All @@ -311,7 +311,7 @@ public void shouldReturnBodyReactive() {

@Test
public void shouldReturnBodyMapReactive() {
Map<String, String> bodyMap = new HashMap<String, String>() {
Map<String, String> bodyMap = new HashMap<>() {
{
put("key1", "value1");
put("key2", "value2");
Expand Down Expand Up @@ -494,7 +494,7 @@ public void shouldEncodePathParam() {

@Test
public void shouldEncodePathParamWithReservedChars() {
String PATH_PARAM = "workers?in=(\"123321\")";
String PATH_PARAM = "workers?in=(\"123/321\")";

StepVerifier.create(client.encodePath(PATH_PARAM)
.subscribeOn(testScheduler()))
Expand Down
1 change: 1 addition & 0 deletions feign-reactor-java11/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<dependency>
<groupId>org.eclipse.jetty.ee10</groupId>
<artifactId>jetty-ee10-webapp</artifactId>
<scope>test</scope>
</dependency>

<dependency>
Expand Down