@@ -62,26 +62,26 @@ void containsHeadersWithSeveralNamesNotPresent() {
62
62
}
63
63
64
64
@ Test
65
- void doesNotContainsHeader () {
66
- assertThat (Map .of ("first" , "1" )).doesNotContainsHeader ("second" );
65
+ void doesNotContainHeader () {
66
+ assertThat (Map .of ("first" , "1" )).doesNotContainHeader ("second" );
67
67
}
68
68
69
69
@ Test
70
- void doesNotContainsHeaderWithNamePresent () {
70
+ void doesNotContainHeaderWithNamePresent () {
71
71
Map <String , String > map = Map .of ("first" , "1" );
72
72
Assertions .assertThatExceptionOfType (AssertionError .class )
73
73
.isThrownBy (() -> assertThat (map ).doesNotContainKey ("first" ))
74
74
.withMessageContainingAll ("HTTP headers" , "first" );
75
75
}
76
76
77
77
@ Test
78
- void doesNotContainsHeaders () {
78
+ void doesNotContainHeaders () {
79
79
assertThat (Map .of ("first" , "1" , "third" , "3" ))
80
80
.doesNotContainsHeaders ("second" , "fourth" );
81
81
}
82
82
83
83
@ Test
84
- void doesNotContainsHeadersWithSeveralNamesPresent () {
84
+ void doesNotContainHeadersWithSeveralNamesPresent () {
85
85
Map <String , String > map = Map .of ("first" , "1" , "second" , "2" , "third" , "3" );
86
86
Assertions .assertThatExceptionOfType (AssertionError .class )
87
87
.isThrownBy (() -> assertThat (map ).doesNotContainsHeaders ("first" , "another-wrong-name" , "second" ))
0 commit comments