ProxyGrantingTicketStorageImpl implements ProxyGrantingTicketStorage { @Override public String retrieve(final String proxyGrantingTicketIou) { if (CommonUtils.isBlank(proxyGrantingTicketIou)) { return null; } final ProxyGrantingTicketHolder holder = this.cache.get(proxyGrantingTicketIou); if (holder == null) { logger.info("No Proxy Ticket found for [{}].", proxyGrantingTicketIou); return null; } this.cache.remove(proxyGrantingTicketIou); logger.debug("Returned ProxyGrantingTicket of [{}]", holder.getProxyGrantingTicket()); return holder.getProxyGrantingTicket(); } ProxyGrantingTicketStorageImpl();  ProxyGrantingTicketStorageImpl(final long timeout); @Override String retrieve(final String proxyGrantingTicketIou); @Override void save(final String proxyGrantingTicketIou, final String proxyGrantingTicket); @Override void cleanUp();  }
@Test public void nullPGTIOU() { Assert.assertNull(this.storage.retrieve(null)); }