@Test public void checkThatNewlyCreatedContainerIsEmpty() { GlobalServiceContainer gsc = new GlobalServiceContainer(); ServiceContainer sc = new ServiceContainer( gsc); assertTrue( sc.isEmpty()); assertNotNull( gsc ); assertTrue( gsc.isEmpty() ); }
boolean isEmpty() { if ( this.services == null ) return true; return this.services.isEmpty(); }
ServiceContainer { boolean isEmpty() { if ( this.services == null ) return true; return this.services.isEmpty(); } }
ServiceContainer { boolean isEmpty() { if ( this.services == null ) return true; return this.services.isEmpty(); } ServiceContainer( GlobalServiceContainer globalServiceContainer ); }
ServiceContainer { boolean isEmpty() { if ( this.services == null ) return true; return this.services.isEmpty(); } ServiceContainer( GlobalServiceContainer globalServiceContainer );  }
ServiceContainer { boolean isEmpty() { if ( this.services == null ) return true; return this.services.isEmpty(); } ServiceContainer( GlobalServiceContainer globalServiceContainer );   }