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