diff --git a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EndpointIdTests.java b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EndpointIdTests.java index 7f085211b0..85c95bd69e 100644 --- a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EndpointIdTests.java +++ b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EndpointIdTests.java @@ -33,7 +33,7 @@ public class EndpointIdTests { public ExpectedException thrown = ExpectedException.none(); @Test - public void ofWhenNullThorowsException() { + public void ofWhenNullThrowsException() { this.thrown.expect(IllegalArgumentException.class); this.thrown.expectMessage("Value must not be empty"); EndpointId.of(null);