@Test public void should_handle_missing_codeBase() { codeBase = getCodeBase("foobar"); assertThat(codeBase.getUrls().length, is(0)); }
URL[] getUrls() { if (needsExploding) { throw new UnsupportedOperationException("Exploding WAR or EAR not yet implemented"); } return urls.toArray(new URL[0]); }
CodeBase { URL[] getUrls() { if (needsExploding) { throw new UnsupportedOperationException("Exploding WAR or EAR not yet implemented"); } return urls.toArray(new URL[0]); } }
CodeBase { URL[] getUrls() { if (needsExploding) { throw new UnsupportedOperationException("Exploding WAR or EAR not yet implemented"); } return urls.toArray(new URL[0]); } CodeBase(AgentConfig config); }
CodeBase { URL[] getUrls() { if (needsExploding) { throw new UnsupportedOperationException("Exploding WAR or EAR not yet implemented"); } return urls.toArray(new URL[0]); } CodeBase(AgentConfig config); CodeBasePublication3 getCodeBasePublication(long customerId, int sequenceNumber); }
CodeBase { URL[] getUrls() { if (needsExploding) { throw new UnsupportedOperationException("Exploding WAR or EAR not yet implemented"); } return urls.toArray(new URL[0]); } CodeBase(AgentConfig config); CodeBasePublication3 getCodeBasePublication(long customerId, int sequenceNumber);  }