Lines Matching refs:refCount
225 assertThat(lock1.refCount()).isEqualTo(3); // +1 for thread local cache
226 assertThat(lock2.refCount()).isEqualTo(3);
229 assertThat(lock1.refCount()).isEqualTo(2);
230 assertThat(lock2.refCount()).isEqualTo(2);
233 assertThat(lock1.refCount()).isEqualTo(1);
234 assertThat(lock2.refCount()).isEqualTo(1);
253 assertThat(locks.getFirst().refCount()).isEqualTo(1);
258 assertThat(locks.getLast().refCount()).isEqualTo(2);
268 assertThat(locks.getFirst().refCount()).isEqualTo(0);
273 assertThat(locks.getLast().refCount()).isEqualTo(1);