Search in sources :

Example 1 with HealthCheckController

use of com.tvd12.ezyhttp.server.management.HealthCheckController in project ezyhttp by youngmonkeys.

the class HealthCheckControllerTest method healthCheck.

@Test
public void healthCheck() {
    // given
    HealthCheckController sut = new HealthCheckController();
    // when
    ResponseEntity actual = sut.healthCheck();
    // then
    Asserts.assertEquals(actual, ResponseEntity.ok());
}
Also used : ResponseEntity(com.tvd12.ezyhttp.core.response.ResponseEntity) HealthCheckController(com.tvd12.ezyhttp.server.management.HealthCheckController) Test(org.testng.annotations.Test)

Aggregations

ResponseEntity (com.tvd12.ezyhttp.core.response.ResponseEntity)1 HealthCheckController (com.tvd12.ezyhttp.server.management.HealthCheckController)1 Test (org.testng.annotations.Test)1