public void testConfiguredAllowNullValueTypeForObject() {
ModelNode description = createSubsystemSkeleton(ModelType.OBJECT, (ModelType)null);
ValidationConfiguration arbitraryDescriptors = new ValidationConfiguration();
arbitraryDescriptors.allowNullValueTypeForAttribute(ROOT_ADDRESS, ROOT_ATTR);
arbitraryDescriptors.allowNullValueTypeForOperation(ROOT_ADDRESS, ROOT_OP);
arbitraryDescriptors.allowNullValueTypeForAttribute(CHILD_ADDRESS, CHILD_ATTR);
arbitraryDescriptors.allowNullValueTypeForOperation(CHILD_ADDRESS, CHILD_OP);
List<ValidationFailure> errors = validate(description, arbitraryDescriptors);
Assert.assertEquals(0, errors.size());