File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
logstash-core/src/test/java/org/logstash/settings Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,14 @@ public void setUp() {
3838 }
3939
4040 @ Test
41- public void givenUnsetPasswordSetting_thenIsConsideredAsValid () {
41+ public void givenUnsetPasswordSetting_thenIsConsideredAsValid () {
4242 assertNotThrown (() -> sut .validateValue ());
4343 assertThat (sut .value (), is (instanceOf (co .elastic .logstash .api .Password .class )));
4444 assertNull (((co .elastic .logstash .api .Password ) sut .value ()).getValue ());
4545 }
4646
4747 @ Test
48- public void givenUnsetPasswordSetting_wheIsSetIsInvoked_thenReturnFalse () {
48+ public void givenUnsetPasswordSetting_wheIsSetIsInvoked_thenReturnFalse () {
4949 assertFalse (sut .isSet ());
5050 }
5151
@@ -59,14 +59,14 @@ public void givenSetPasswordSetting_thenIsValid() {
5959 }
6060
6161 @ Test
62- public void givenSetPasswordSetting_whenIsSetIsInvoked_thenReturnTrue () {
62+ public void givenSetPasswordSetting_whenIsSetIsInvoked_thenReturnTrue () {
6363 sut .set ("s3cUr3p4$$w0rd" );
6464
6565 assertTrue (sut .isSet ());
6666 }
6767
6868 @ Test
69- public void givenSetPasswordSettingWithInvalidNonStringValue_thenRejectsTheInvalidValue () {
69+ public void givenSetPasswordSettingWithInvalidNonStringValue_thenRejectsTheInvalidValue () {
7070 Exception e = assertThrows (IllegalArgumentException .class , () -> sut .set (867_5309 ));
7171 assertThat (e .getMessage (), is ("Setting `" + SETTING_NAME + "` could not coerce non-string value to password" ));
7272 }
You can’t perform that action at this time.
0 commit comments