@Test(expected = ServiceConfigurationException.class) public void lockUnbound() { new ServiceBindingsBuilder().lock("unbound.interface"); }
public void lock(String interfaceName) { require(interfaceName).lock(); }
ServiceBindingsBuilder { public void lock(String interfaceName) { require(interfaceName).lock(); } }
ServiceBindingsBuilder { public void lock(String interfaceName) { require(interfaceName).lock(); }  }
ServiceBindingsBuilder { public void lock(String interfaceName) { require(interfaceName).lock(); }  void bind(String interfaceName, String className, ClassLoader classLoader); Collection<ServiceBinding> getAllBindings(boolean strict); List<String> getPriorities(); void lock(String interfaceName); void markDirectlyRequired(String interfaceName); void mustBeBound(String interfaceName); void mustBeLocked(String interfaceName); void prioritize(String interfaceName); void markSectionEnd(); void unbind(String interfaceName); }
ServiceBindingsBuilder { public void lock(String interfaceName) { require(interfaceName).lock(); }  void bind(String interfaceName, String className, ClassLoader classLoader); Collection<ServiceBinding> getAllBindings(boolean strict); List<String> getPriorities(); void lock(String interfaceName); void markDirectlyRequired(String interfaceName); void mustBeBound(String interfaceName); void mustBeLocked(String interfaceName); void prioritize(String interfaceName); void markSectionEnd(); void unbind(String interfaceName);  }