<BUG>Lock.acquire(new LockConfig(), LOCK_KEYSPACE, session);}</BUG><CONTEXT>.build());Throwable throwable = catchThrowable(new ThrowableAssert.ThrowingCallable() {@Overridepublic void call() throws Throwable {<extra_id_0>});assertThat(throwable).isNotNull();assertThat(throwable).isInstanceOf(CannotAcquireLockException.class);</CONTEXT>
Lock.acquire(DEFAULT_LOCK_CONFIG, LOCK_KEYSPACE, session);}