7474@ SuppressWarnings ("rawtypes" )
7575@ ExtendWith (MockitoExtension .class )
7676@ MockitoSettings (strictness = Strictness .STRICT_STUBS )
77- class ChangeLoggingKeyValueBytesStoreTest {
77+ public class ChangeLoggingKeyValueBytesStoreTest {
7878
7979 private final MockRecordCollector collector = new MockRecordCollector ();
8080 @ Mock
@@ -190,15 +190,15 @@ public void after() {
190190 }
191191
192192 @ Test
193- void shouldDelegateInit () {
193+ public void shouldDelegateInit () {
194194 final InternalMockProcessorContext mockContext = mockContext ();
195195 final StateStore outer = new ChangeLoggingKeyValueBytesStore (innerMock );
196196 outer .init (mockContext , outer );
197197 verify (innerMock ).init (mockContext , outer );
198198 }
199199
200200 @ Test
201- void shouldWriteKeyValueBytesToInnerStoreOnPut () {
201+ public void shouldWriteKeyValueBytesToInnerStoreOnPut () {
202202 final Map <Bytes , byte []> mockMap = new HashMap <>();
203203 mockPut (mockMap );
204204 mockGet (mockMap );
@@ -212,7 +212,7 @@ void shouldWriteKeyValueBytesToInnerStoreOnPut() {
212212 }
213213
214214 @ Test
215- void shouldWriteAllKeyValueToInnerStoreOnPutAll () {
215+ public void shouldWriteAllKeyValueToInnerStoreOnPutAll () {
216216 final Map <Bytes , byte []> mockMap = new HashMap <>();
217217 mockPutAll (mockMap );
218218 mockGet (mockMap );
@@ -231,7 +231,7 @@ void shouldWriteAllKeyValueToInnerStoreOnPutAll() {
231231 }
232232
233233 @ Test
234- void shouldPropagateDelete () {
234+ public void shouldPropagateDelete () {
235235 final Map <Bytes , byte []> mockMap = new HashMap <>();
236236 mockPut (mockMap );
237237 mockGet (mockMap );
@@ -246,7 +246,7 @@ void shouldPropagateDelete() {
246246 }
247247
248248 @ Test
249- void shouldReturnOldValueOnDelete () {
249+ public void shouldReturnOldValueOnDelete () {
250250 final Map <Bytes , byte []> mockMap = new HashMap <>();
251251 mockPut (mockMap );
252252 mockDelete (mockMap );
@@ -257,7 +257,7 @@ void shouldReturnOldValueOnDelete() {
257257 }
258258
259259 @ Test
260- void shouldLogKeyNullOnDelete () {
260+ public void shouldLogKeyNullOnDelete () {
261261 final Map <Bytes , byte []> mockMap = new HashMap <>();
262262 mockPut (mockMap );
263263 mockDelete (mockMap );
@@ -274,7 +274,7 @@ void shouldLogKeyNullOnDelete() {
274274 }
275275
276276 @ Test
277- void shouldWriteToInnerOnPutIfAbsentNoPreviousValue () {
277+ public void shouldWriteToInnerOnPutIfAbsentNoPreviousValue () {
278278 final Map <Bytes , byte []> mockMap = new HashMap <>();
279279 mockPutIfAbsent (mockMap );
280280 mockGet (mockMap );
@@ -285,7 +285,7 @@ void shouldWriteToInnerOnPutIfAbsentNoPreviousValue() {
285285 }
286286
287287 @ Test
288- void shouldNotWriteToInnerOnPutIfAbsentWhenValueForKeyExists () {
288+ public void shouldNotWriteToInnerOnPutIfAbsentWhenValueForKeyExists () {
289289 final Map <Bytes , byte []> mockMap = new HashMap <>();
290290 mockPut (mockMap );
291291 mockPutIfAbsent (mockMap );
@@ -298,7 +298,7 @@ void shouldNotWriteToInnerOnPutIfAbsentWhenValueForKeyExists() {
298298 }
299299
300300 @ Test
301- void shouldWriteToChangelogOnPutIfAbsentWhenNoPreviousValue () {
301+ public void shouldWriteToChangelogOnPutIfAbsentWhenNoPreviousValue () {
302302 final Map <Bytes , byte []> mockMap = new HashMap <>();
303303 mockPutIfAbsent (mockMap );
304304 mockPosition ();
@@ -311,7 +311,7 @@ void shouldWriteToChangelogOnPutIfAbsentWhenNoPreviousValue() {
311311 }
312312
313313 @ Test
314- void shouldNotWriteToChangeLogOnPutIfAbsentWhenValueForKeyExists () {
314+ public void shouldNotWriteToChangeLogOnPutIfAbsentWhenValueForKeyExists () {
315315 final Map <Bytes , byte []> mockMap = new HashMap <>();
316316 mockPut (mockMap );
317317 mockPutIfAbsent (mockMap );
@@ -326,7 +326,7 @@ void shouldNotWriteToChangeLogOnPutIfAbsentWhenValueForKeyExists() {
326326 }
327327
328328 @ Test
329- void shouldReturnCurrentValueOnPutIfAbsent () {
329+ public void shouldReturnCurrentValueOnPutIfAbsent () {
330330 final Map <Bytes , byte []> mockMap = new HashMap <>();
331331 mockPut (mockMap );
332332 mockPutIfAbsent (mockMap );
@@ -337,7 +337,7 @@ void shouldReturnCurrentValueOnPutIfAbsent() {
337337 }
338338
339339 @ Test
340- void shouldReturnNullOnPutIfAbsentWhenNoPreviousValue () {
340+ public void shouldReturnNullOnPutIfAbsentWhenNoPreviousValue () {
341341 final Map <Bytes , byte []> mockMap = new HashMap <>();
342342 mockPutIfAbsent (mockMap );
343343 mockPosition ();
@@ -346,7 +346,7 @@ void shouldReturnNullOnPutIfAbsentWhenNoPreviousValue() {
346346 }
347347
348348 @ Test
349- void shouldReturnValueOnGetWhenExists () {
349+ public void shouldReturnValueOnGetWhenExists () {
350350 final Map <Bytes , byte []> mockMap = new HashMap <>();
351351 mockPut (mockMap );
352352 mockGet (mockMap );
@@ -357,7 +357,7 @@ void shouldReturnValueOnGetWhenExists() {
357357 }
358358
359359 @ Test
360- void shouldGetRecordsWithPrefixKey () {
360+ public void shouldGetRecordsWithPrefixKey () {
361361 final Map <Bytes , byte []> mockMap = new HashMap <>();
362362 mockPut (mockMap );
363363 mockPrefixScan (mockMap );
@@ -385,15 +385,15 @@ void shouldGetRecordsWithPrefixKey() {
385385 }
386386
387387 @ Test
388- void shouldReturnNullOnGetWhenDoesntExist () {
388+ public void shouldReturnNullOnGetWhenDoesntExist () {
389389 final Map <Bytes , byte []> mockMap = new HashMap <>();
390390 mockGet (mockMap );
391391
392392 assertThat (store .get (hello ), is (nullValue ()));
393393 }
394394
395395 @ Test
396- void shouldLogPositionOnPut () {
396+ public void shouldLogPositionOnPut () {
397397 final Map <Bytes , byte []> mockMap = new HashMap <>();
398398 mockPut (mockMap );
399399 mockPosition ();
0 commit comments