CQRS.Tests.CQRS.EventSourcing.EventRefactoring.When_renaming_events.With_renaming_attribute_renamer_and_then_path_renamer.Event_type_maps_to_event_name_with_path_replaced_by_path_replacer_and_name_replaced_by_attribute_name C# (CSharp) Метод

Event_type_maps_to_event_name_with_path_replaced_by_path_replacer_and_name_replaced_by_attribute_name() приватный Метод

        public void Event_type_maps_to_event_name_with_path_replaced_by_path_replacer_and_name_replaced_by_attribute_name()
        {
            _nameMapper.GetName(typeof(Event1)).Should().Be(Event1.OldName);
            _nameMapper.GetName(typeof(Event2)).Should().Be(Event2.OldName);
        }