public void testDoubleLock() {
final ThreadLockServiceImpl lockService = new ThreadLockServiceImpl();
lockService.lock();
lockService.lock();
lockService.unlock();
lockService.unlock();
}
@Test(expected = IllegalMonitorStateException.class)
public void testUnlock() {
final ThreadLockServiceImpl lockService = new ThreadLockServiceImpl();