@@ -170,7 +170,7 @@ void getGraffitiFromStorage_shouldGetGraffitiFromStorage(@TempDir final Path tem
170
170
Files .writeString (filePath , graffiti );
171
171
172
172
final Bytes32 expectedBytes = Bytes32Parser .toBytes32 (graffiti );
173
- assertThat (manager .getGraffitiFromStorage (publicKey )).hasValue (expectedBytes );
173
+ assertThat (manager .getGraffiti (publicKey )).hasValue (expectedBytes );
174
174
}
175
175
176
176
@ Test
@@ -183,7 +183,7 @@ void getGraffitiFromStorage_shouldReturnEmptyWhenFileTooBig(@TempDir final Path
183
183
final Path filePath = getGraffitiManagementDir ().resolve (getFileName (publicKey ));
184
184
Files .writeString (filePath , invalidGraffiti );
185
185
186
- assertThat (manager .getGraffitiFromStorage (publicKey )).isEmpty ();
186
+ assertThat (manager .getGraffiti (publicKey )).isEmpty ();
187
187
}
188
188
189
189
@ Test
@@ -196,7 +196,7 @@ void getGraffitiFromStorage_shouldReturnEmptyWhenNotReadableFile(@TempDir final
196
196
Files .writeString (filePath , graffiti );
197
197
assertThat (filePath .toFile ().setReadable (false )).isTrue ();
198
198
199
- assertThat (manager .getGraffitiFromStorage (publicKey )).isEmpty ();
199
+ assertThat (manager .getGraffiti (publicKey )).isEmpty ();
200
200
}
201
201
202
202
@ Test
@@ -207,7 +207,7 @@ void getGraffitiFromStorage_shouldReturnEmptyWhenFileEmpty(@TempDir final Path t
207
207
final Path filePath = getGraffitiManagementDir ().resolve (getFileName (publicKey ));
208
208
assertThat (filePath .toFile ().createNewFile ()).isTrue ();
209
209
210
- assertThat (manager .getGraffitiFromStorage (publicKey )).isEmpty ();
210
+ assertThat (manager .getGraffiti (publicKey )).isEmpty ();
211
211
}
212
212
213
213
private Path getGraffitiManagementDir () {
0 commit comments