File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
jnosql-mongodb/src/test/java/org/eclipse/jnosql/databases/mongodb/mapping Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments