This commit is contained in:
Phillip Webb
2020-06-01 14:27:39 -07:00
parent 8f8bee7ccd
commit 502e2a4c64
3 changed files with 8 additions and 8 deletions

View File

@@ -35,13 +35,13 @@ class DockerConnectionExceptionTests {
@Test
void createWhenHostIsNullThrowsException() {
assertThatIllegalArgumentException().isThrownBy(() -> new DockerConnectionException(null, null))
.withMessage("host must not be null");
.withMessage("Host must not be null");
}
@Test
void createWhenCauseIsNullThrowsException() {
assertThatIllegalArgumentException().isThrownBy(() -> new DockerConnectionException(HOST, null))
.withMessage("cause must not be null");
.withMessage("Cause must not be null");
}
@Test