@Test(expected = IllegalStateException.class) public void checkExceptionOnPreBuildGetServiceByName() { this.serviceContainer.getServiceByName( "odap" ); }
Service getServiceByName( String name ) { if ( ! this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder without being finished()." ); if ( name == null ) return null; return this.getServiceImplByName( name ); }
ServiceContainer { Service getServiceByName( String name ) { if ( ! this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder without being finished()." ); if ( name == null ) return null; return this.getServiceImplByName( name ); } }
ServiceContainer { Service getServiceByName( String name ) { if ( ! this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder without being finished()." ); if ( name == null ) return null; return this.getServiceImplByName( name ); } ServiceContainer( GlobalServiceContainer globalServiceContainer ); }
ServiceContainer { Service getServiceByName( String name ) { if ( ! this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder without being finished()." ); if ( name == null ) return null; return this.getServiceImplByName( name ); } ServiceContainer( GlobalServiceContainer globalServiceContainer );  }
ServiceContainer { Service getServiceByName( String name ) { if ( ! this.isBuilt ) throw new IllegalStateException( "This Service has escaped from its ServiceBuilder without being finished()." ); if ( name == null ) return null; return this.getServiceImplByName( name ); } ServiceContainer( GlobalServiceContainer globalServiceContainer );   }