I normally do it like this to improve readability:

boolean result = lock.tryLock(..)

assertFalse("lock was acquired by another thread", result)