| Constructor and Description |
|---|
DefaultHealthCheckServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
should()
Expected structure:
|
void |
shouldAllowToBuildResultsWithFlatStructure()
Expected structure:
|
void |
shouldCombineHealthCheckResultsWithSameSubKeys()
Expected structure:
|
void |
shouldReturnEmptyResultWhenChecksAreNotProductingResults() |
void |
shouldReturnUnmodifableMapOfResults() |
void |
shouldThrowNullPointerExceptionWhenSomeOfRegisteredChecksReturnsNullResult() |
public void shouldAllowToBuildResultsWithFlatStructure()
throws Exception
{
"foo": "one",
"bar": "two"
}
Exceptionpublic void shouldCombineHealthCheckResultsWithSameSubKeys()
throws Exception
{
"foo": {
"bar": {
"baz": "one",
"boom": "two"
}
}
}
Exceptionpublic void should()
throws Exception
{
"ala": {
"ela": {
"ala": "one",
"ola": {
"ala": "two"
}
}
}
}
Exceptionpublic void shouldReturnEmptyResultWhenChecksAreNotProductingResults()
throws Exception
Exceptionpublic void shouldReturnUnmodifableMapOfResults()
throws Exception
ExceptionCopyright © 2017 SAP SE. All Rights Reserved.