### Question:
Account implements Lock { @Override public boolean tryLock() { return lock.tryLock(); } Account(int number, int openingBalance); void withDrawAmount(int amount); void deposit(int amount); int getNumber(); int getBalance(); @Override void lock(); @Override void lockInterruptibly(); @Override Condition newCondition(); @Override boolean tryLock(); @Override boolean tryLock(long arg0, TimeUnit arg1); @Override void unlock();  }### Answer:
@Test public void testTryLockAndLock() { assertTrue(instance.tryLock()); }