@Test public void testGetExpire() { lockDuration = 240; lockName = "TestLock"; lock = new FeatureLock(lockName, lockDuration); assertEquals("lockDate", lockDuration, lock.getDuration()); }
public long getDuration() { return duration; }
FeatureLock { public long getDuration() { return duration; } }
FeatureLock { public long getDuration() { return duration; } FeatureLock(String authorization, long duration);  FeatureLock(String authorization, long duration, TimeUnit unit); }
FeatureLock { public long getDuration() { return duration; } FeatureLock(String authorization, long duration);  FeatureLock(String authorization, long duration, TimeUnit unit); String getAuthorization(); long getDuration(); }
FeatureLock { public long getDuration() { return duration; } FeatureLock(String authorization, long duration);  FeatureLock(String authorization, long duration, TimeUnit unit); String getAuthorization(); long getDuration(); static final FeatureLock TRANSACTION; }