|
|
@ -22,13 +22,13 @@ import static org.junit.Assert.assertEquals;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Tests for {@link VanillaHealthIndicator}.
|
|
|
|
* Tests for {@link VanillaHealthIndicator}.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @author Phillip Webb
|
|
|
|
* @author Phillip Webb
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public class VanillaHealthIndicatorTests {
|
|
|
|
public class VanillaHealthIndicatorTests {
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void ok() throws Exception {
|
|
|
|
public void indicatesUp() throws Exception {
|
|
|
|
VanillaHealthIndicator healthIndicator = new VanillaHealthIndicator();
|
|
|
|
VanillaHealthIndicator healthIndicator = new VanillaHealthIndicator();
|
|
|
|
assertEquals(Status.UP, healthIndicator.health().getStatus());
|
|
|
|
assertEquals(Status.UP, healthIndicator.health().getStatus());
|
|
|
|
}
|
|
|
|
}
|
|
|
|