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 bf55acd commit 45da054Copy full SHA for 45da054
tests/objectbox-java-test/src/test/java/io/objectbox/exception/ExceptionTest.java
@@ -40,6 +40,12 @@ public void exceptionListener_null_works() {
40
store.setDbExceptionListener(null);
41
}
42
43
+ @Test
44
+ public void exceptionListener_closedStore_works() {
45
+ store.close();
46
+ store.setDbExceptionListener(e -> System.out.println("This is never called"));
47
+ }
48
+
49
@Test
50
public void exceptionListener_removing_works() {
51
AtomicBoolean replacedListenerCalled = new AtomicBoolean(false);
0 commit comments