assertNotNull(registry.type);
}
public void testKnownDescriptorDoNotTriggerCallback() throws Exception {
EmptyCompletableBindingRegistry registry = new EmptyCompletableBindingRegistry(delegate);
when(delegate.getBindings(DESCRIPTOR)).thenReturn(Collections.<Binding>singletonList(new NullBinding(Type.getType(DESCRIPTOR))));
registry.getBindings(DESCRIPTOR);
assertNull(registry.type);
}