diff --git a/jnosql-communication/jnosql-communication-semistructured/src/test/java/org/eclipse/jnosql/communication/semistructured/QueryTypeTest.java b/jnosql-communication/jnosql-communication-semistructured/src/test/java/org/eclipse/jnosql/communication/semistructured/QueryTypeTest.java index 88e2728df..4668e3001 100644 --- a/jnosql-communication/jnosql-communication-semistructured/src/test/java/org/eclipse/jnosql/communication/semistructured/QueryTypeTest.java +++ b/jnosql-communication/jnosql-communication-semistructured/src/test/java/org/eclipse/jnosql/communication/semistructured/QueryTypeTest.java @@ -10,6 +10,7 @@ */ package org.eclipse.jnosql.communication.semistructured; +import org.assertj.core.api.Assertions; import org.junit.jupiter.api.Test; import static org.assertj.core.api.AssertionsForClassTypes.assertThat; @@ -67,4 +68,11 @@ void shouldThrowNullPointerExceptionForNullQuery() { assertThatThrownBy(() -> QueryType.parse(query)) .isInstanceOf(NullPointerException.class); } + + @Test + void shouldReturnIsNotSelect() { + Assertions.assertThat(QueryType.SELECT.isNotSelect()).isFalse(); + Assertions.assertThat(QueryType.DELETE.isNotSelect()).isTrue(); + Assertions.assertThat(QueryType.UPDATE.isNotSelect()).isTrue(); + } } \ No newline at end of file