public void unmap_returns_mapper() { mapper = subject.Map(SupportEvent.Type.TYPE1, typeof(SupportEvent)); Assert.That(subject.Unmap(SupportEvent.Type.TYPE1, typeof(SupportEvent)), Is.InstanceOf(typeof(ICommandUnmapper))); }
/*============================================================================*/ /* Public Functions */ /*============================================================================*/ public void Execute() { eventCommandMap.Unmap(evt.type, typeof(Event)).FromCommand(commandClass); }