### Question:
PropertyExistenceEnforcer { static PropertyExistenceEnforcer getOrCreatePropertyExistenceEnforcerFrom( StorageReader storageReader ) { return storageReader.getOrCreateSchemaDependantState( PropertyExistenceEnforcer.class, FACTORY ); } private  PropertyExistenceEnforcer( List<LabelSchemaDescriptor> nodes, List<RelationTypeSchemaDescriptor> rels );   }### Answer:
@Test public void constraintPropertyIdsNotUpdatedByConstraintEnforcer() { UniquenessConstraintDescriptor uniquenessConstraint = ConstraintDescriptorFactory.uniqueForLabel( 1, 1, 70, 8 ); NodeKeyConstraintDescriptor nodeKeyConstraint = ConstraintDescriptorFactory.nodeKeyForLabel( 2, 12, 7, 13 ); RelExistenceConstraintDescriptor relTypeConstraint = ConstraintDescriptorFactory.existsForRelType( 3, 5, 13, 8 ); List<ConstraintDescriptor> descriptors = Arrays.asList( uniquenessConstraint, nodeKeyConstraint, relTypeConstraint ); StorageReader storageReader = prepareStorageReaderMock( descriptors ); PropertyExistenceEnforcer.getOrCreatePropertyExistenceEnforcerFrom( storageReader ); assertArrayEquals( "Property ids should remain untouched.", new int[]{1, 70, 8}, uniquenessConstraint.schema().getPropertyIds() ); assertArrayEquals( "Property ids should remain untouched.", new int[]{12, 7, 13}, nodeKeyConstraint.schema().getPropertyIds() ); assertArrayEquals( "Property ids should remain untouched.", new int[]{5, 13, 8}, relTypeConstraint.schema().getPropertyIds() ); }