Below exception is thrown on when(query.bind(anyString(), anyLong())).thenReturn(query);
java.lang.NullPointerException
at org.skife.jdbi.v2.SQLStatement.bind(SQLStatement.java:1035)
at au.gov.nla.banjo.cleaning.CaptureStatusDataCleanupUnitTest2.setup(CaptureStatusDataCleanupUnitTest2.java:35)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Below exception is thrown on
when(query.bind(anyString(), anyLong())).thenReturn(query);