Skip to content

Commit 4dd265a

Browse files
Maximillian ArrudaMaximillian Arruda
authored andcommitted
refactor: remove public modifier from test methods
Signed-off-by: Maximillian Arruda <[email protected]>
1 parent 27c26bd commit 4dd265a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

jnosql-mongodb/src/test/java/org/eclipse/jnosql/databases/mongodb/mapping/ObjectIdConverterTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,30 +25,30 @@ class ObjectIdConverterTest {
2525
private AttributeConverter<String, ObjectId> converter;
2626

2727
@BeforeEach
28-
public void setUp() {
28+
void setUp() {
2929
this.converter = new ObjectIdConverter();
3030
}
3131

3232
@Test
33-
public void shouldReturnNullWhenAttributeIsNull() {
33+
void shouldReturnNullWhenAttributeIsNull() {
3434
Assertions.assertNull(this.converter.convertToDatabaseColumn(null));
3535
}
3636

3737
@Test
38-
public void shouldReturnNullWhenDataIsNull() {
38+
void shouldReturnNullWhenDataIsNull() {
3939
Assertions.assertNull(this.converter.convertToEntityAttribute(null));
4040
}
4141

4242
@Test
43-
public void shouldConvertToEntity() {
43+
void shouldConvertToEntity() {
4444
ObjectId id = new ObjectId();
4545
String entityAttribute = this.converter.convertToEntityAttribute(id);
4646
Assertions.assertNotNull(entityAttribute);
4747
Assertions.assertEquals(id.toString(), entityAttribute);
4848
}
4949

5050
@Test
51-
public void shouldConvertToDatabase() {
51+
void shouldConvertToDatabase() {
5252
ObjectId objectId = new ObjectId();
5353
String entityAttribute = objectId.toString();
5454
ObjectId id = this.converter.convertToDatabaseColumn(entityAttribute);

0 commit comments

Comments
 (0)