@Test public void leaseNotGranted() { LeaseResult result = LeaseResult.leaseNotGranted(); assertFalse(result.isLeaseGranted()); }
public static LeaseResult leaseNotGranted() { return new LeaseResult(LEASE_NOT_GRANTED); }
LeaseResult { public static LeaseResult leaseNotGranted() { return new LeaseResult(LEASE_NOT_GRANTED); } }
LeaseResult { public static LeaseResult leaseNotGranted() { return new LeaseResult(LEASE_NOT_GRANTED); } private  LeaseResult(long leaseLength); }
LeaseResult { public static LeaseResult leaseNotGranted() { return new LeaseResult(LEASE_NOT_GRANTED); } private  LeaseResult(long leaseLength); static LeaseResult leaseNotGranted(); static LeaseResult leaseGranted(long leaseLength); boolean isLeaseGranted(); long getLeaseLength(); }
LeaseResult { public static LeaseResult leaseNotGranted() { return new LeaseResult(LEASE_NOT_GRANTED); } private  LeaseResult(long leaseLength); static LeaseResult leaseNotGranted(); static LeaseResult leaseGranted(long leaseLength); boolean isLeaseGranted(); long getLeaseLength();  }