예제 #1
0
        public void TestConfirmCreateAttributeSet()
        {
            _confirmingDistributor.ConfirmCreate("123", _set, _localNode);

            SingleChannelMessageAssertions();

            Assert.Equal(1, Application.InformAttributeSetCreatedCheck.Get());
        }
    internal void CreateAttributeSet(ReceivedAttributeMessage request)
    {
        var attributeSet = _repository.AttributeSetOf(request.AttributeSetName !);

        if (attributeSet.IsNone)
        {
            attributeSet = AttributeSet.Named(request.AttributeSetName);
            _repository.Add(attributeSet);
        }
        _confirmingDistributor.ConfirmCreate(request.TrackingId, attributeSet, _configuration.NodeMatching(request.SourceNodeId));
    }