@Test(expected = IllegalStateException.class) public void checkExceptionOnPreBuildGetServices() { this.serviceContainer.getServices(); }
List<Service> getServices() { if ( ! this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder without being finished()." ); if ( this.services == null ) return Collections.emptyList(); return Collections.unmodifiableList( new ArrayList<Service>( this.services ) ); }
ServiceContainer { List<Service> getServices() { if ( ! this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder without being finished()." ); if ( this.services == null ) return Collections.emptyList(); return Collections.unmodifiableList( new ArrayList<Service>( this.services ) ); } }
ServiceContainer { List<Service> getServices() { if ( ! this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder without being finished()." ); if ( this.services == null ) return Collections.emptyList(); return Collections.unmodifiableList( new ArrayList<Service>( this.services ) ); } ServiceContainer( GlobalServiceContainer globalServiceContainer ); }
ServiceContainer { List<Service> getServices() { if ( ! this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder without being finished()." ); if ( this.services == null ) return Collections.emptyList(); return Collections.unmodifiableList( new ArrayList<Service>( this.services ) ); } ServiceContainer( GlobalServiceContainer globalServiceContainer );  }
ServiceContainer { List<Service> getServices() { if ( ! this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder without being finished()." ); if ( this.services == null ) return Collections.emptyList(); return Collections.unmodifiableList( new ArrayList<Service>( this.services ) ); } ServiceContainer( GlobalServiceContainer globalServiceContainer );   }