public BindingExtensionsTests() { _command = Substitute.For <ICommand>(); _commandGeneric = Substitute.For <ICommand <string> >(); _obj = new StubProducer(); BindingExtensions.Initialize(new MockBindingFactory()); }
public GetCommandHandlerTests() { _factory = new MockBindingFactory(); _command = Substitute.For <ICommand>(); var obj = new StubProducer(); _e = new StubEvent(obj, nameof(obj.SimpleEvent)); }
public GetCommandHandlerGenericTEventArgsTests() { _factory = new MockBindingFactory(); _command = Substitute.For <ICommand <string> >(); var obj = new StubProducer(); _e = new StubEvent(obj, nameof(obj.GenericStringEvent)); }