We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c92a0 commit 12341ddCopy full SHA for 12341dd
tests/objectbox-java-test/src/main/java/io/objectbox/query/QueryTest.java
@@ -46,6 +46,13 @@ public void testBuild() {
46
assertNotNull(query);
47
}
48
49
+ @Test(expected = IllegalStateException.class)
50
+ public void testBuildTwice() {
51
+ QueryBuilder<TestEntity> queryBuilder = box.query();
52
+ queryBuilder.build().find();
53
54
+ }
55
+
56
@Test
57
public void testNullNotNull() {
58
List<TestEntity> scalars = putTestEntitiesScalars();
0 commit comments