### Question:
ObjectLockHandler { public void acquire(@NonNull final T object) throws InterruptedException { checkNotNull(object); createLock(object); locks.get(object).lockObject.acquire(); }  void acquire(@NonNull final T object); void release(@NonNull final T object);  }### Answer:
@Test(expected = NullPointerException.class) public void acquire_WithNull_Throws() throws InterruptedException { ObjectLockHandler<String> handler = new ObjectLockHandler<>(); handler.acquire(null); }