@@ -49,7 +49,7 @@ public void flush() {
4949 }
5050
5151 @ Test
52- public void givenAStringThenSaveItAsRedisStrings () {
52+ public void givenAString_thenSaveItAsRedisStrings () {
5353 String key = "key" ;
5454 String value = "value" ;
5555
@@ -60,7 +60,7 @@ public void givenAStringThenSaveItAsRedisStrings() {
6060 }
6161
6262 @ Test
63- public void givenListElementsThenSaveThemInRedisList () {
63+ public void givenListElements_thenSaveThemInRedisList () {
6464 String queue = "queue#tasks" ;
6565
6666 String taskOne = "firstTask" ;
@@ -85,7 +85,7 @@ public void givenListElementsThenSaveThemInRedisList() {
8585 }
8686
8787 @ Test
88- public void givenSetElementsThenSaveThemInRedisSet () {
88+ public void givenSetElements_thenSaveThemInRedisSet () {
8989 String countries = "countries" ;
9090
9191 String countryOne = "Spain" ;
@@ -110,7 +110,7 @@ public void givenSetElementsThenSaveThemInRedisSet() {
110110 }
111111
112112 @ Test
113- public void givenObjectFieldsThenSaveThemInRedisHash () {
113+ public void givenObjectFields_thenSaveThemInRedisHash () {
114114 String key = "user#1" ;
115115
116116 String field = "name" ;
@@ -131,7 +131,7 @@ public void givenObjectFieldsThenSaveThemInRedisHash() {
131131 }
132132
133133 @ Test
134- public void givenARankingThenSaveItInRedisSortedSet () {
134+ public void givenARanking_thenSaveItInRedisSortedSet () {
135135 String key = "ranking" ;
136136
137137 Map <String , Double > scores = new HashMap <>();
@@ -152,7 +152,7 @@ public void givenARankingThenSaveItInRedisSortedSet() {
152152 }
153153
154154 @ Test
155- public void givenMultipleOperationsThatNeedToBeExecutedAtomicallyThenWrapThemInATransaction () {
155+ public void givenMultipleOperationsThatNeedToBeExecutedAtomically_thenWrapThemInATransaction () {
156156 String friendsPrefix = "friends#" ;
157157
158158 String userOneId = "4352523" ;
@@ -171,7 +171,7 @@ public void givenMultipleOperationsThatNeedToBeExecutedAtomicallyThenWrapThemInA
171171 }
172172
173173 @ Test
174- public void givenMultipleIndependentOperationsWhenNetworkOptimizationIsImportantThenWrapThemInAPipeline () {
174+ public void givenMultipleIndependentOperations_whenNetworkOptimizationIsImportant_thenWrapThemInAPipeline () {
175175 String userOneId = "4352523" ;
176176 String userTwoId = "4849888" ;
177177
@@ -188,7 +188,7 @@ public void givenMultipleIndependentOperationsWhenNetworkOptimizationIsImportant
188188 }
189189
190190 @ Test
191- public void givenAPoolConfigurationThenCreateAJedisPool () {
191+ public void givenAPoolConfiguration_thenCreateAJedisPool () {
192192 final JedisPoolConfig poolConfig = buildPoolConfig ();
193193
194194 try (JedisPool jedisPool = new JedisPool (poolConfig , "localhost" ); Jedis jedis = jedisPool .getResource ()) {
0 commit comments