|
|
|
|
@ -17,6 +17,7 @@
@@ -17,6 +17,7 @@
|
|
|
|
|
package org.springframework.boot.actuate.endpoint; |
|
|
|
|
|
|
|
|
|
import java.util.Collections; |
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
import org.junit.Test; |
|
|
|
|
|
|
|
|
|
@ -34,7 +35,7 @@ public class InfoEndpointCompatibilityTests {
@@ -34,7 +35,7 @@ public class InfoEndpointCompatibilityTests {
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
public void invoke() throws Exception { |
|
|
|
|
Info actual = getEndpointBean().invoke(); |
|
|
|
|
Map<String, Object> actual = getEndpointBean().invoke(); |
|
|
|
|
assertThat(actual.get("key1")).isEqualTo("value1"); |
|
|
|
|
assertThat(actual.get("foo")).isEqualTo("bar"); |
|
|
|
|
} |
|
|
|
|
|