@Test public void testMissingClient() { DatabaseLoadedSAML2Clients clients = new DatabaseLoadedSAML2Clients(createSamlClientDaoMockWithNoClientsDefined()); clients.setCallbackUrl(CALLBACK_URL); clients.init(); List<Client> clientList = clients.getClients(); assertNotNull(clientList); assertTrue(clientList.isEmpty()); }
@Override public List<Client> getClients() { init(); return this.dynamicallyLoadedClients; }
DatabaseLoadedSAML2Clients extends Clients { @Override public List<Client> getClients() { init(); return this.dynamicallyLoadedClients; } }
DatabaseLoadedSAML2Clients extends Clients { @Override public List<Client> getClients() { init(); return this.dynamicallyLoadedClients; } DatabaseLoadedSAML2Clients(final SamlClientDao samlClientDao); }
DatabaseLoadedSAML2Clients extends Clients { @Override public List<Client> getClients() { init(); return this.dynamicallyLoadedClients; } DatabaseLoadedSAML2Clients(final SamlClientDao samlClientDao); @Override List<Client> getClients(); @Override void setClients(List<Client> clients); @Override void setClients(Client... clients); }
DatabaseLoadedSAML2Clients extends Clients { @Override public List<Client> getClients() { init(); return this.dynamicallyLoadedClients; } DatabaseLoadedSAML2Clients(final SamlClientDao samlClientDao); @Override List<Client> getClients(); @Override void setClients(List<Client> clients); @Override void setClients(Client... clients);  }