Commit 3b27427a authored by Christian Dupuis's avatar Christian Dupuis

Merge branch 'gesellix-healthcheck-docs'

parents 2bff12a7 21846f3b
......@@ -17,10 +17,11 @@
package org.springframework.boot.actuate.health;
/**
* Default implementation of {@link HealthIndicator} that simply returns {@literal "ok"}.
*
* Default implementation of {@link HealthIndicator} that simply returns {@literal "UP"}.
*
* @author Dave Syer
* @author Christian Dupuis
* @see Status#UP
*/
public class VanillaHealthIndicator extends AbstractHealthIndicator {
......
......@@ -22,13 +22,13 @@ import static org.junit.Assert.assertEquals;
/**
* Tests for {@link VanillaHealthIndicator}.
*
*
* @author Phillip Webb
*/
public class VanillaHealthIndicatorTests {
@Test
public void ok() throws Exception {
public void indicatesUp() throws Exception {
VanillaHealthIndicator healthIndicator = new VanillaHealthIndicator();
assertEquals(Status.UP, healthIndicator.health().getStatus());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment