public void ApplyConfig(EventSourceConfiguration configuration, EventsourceDIContext diContext, IStateEventMapping eventMapping, IDomainObjectRepository repo) { stateRuntime = new DomainObjectStateRuntime(this, diContext, eventMapping, configuration); domainObjectRepository = repo; }
public void ConventionWithInterfaceWasCalled() { DomainObjectStateRuntime sut = GetSut(); var state = sut.State <TestState>(true); Assert.Equal(1, state.Counter); }
public void ApplyConfig(EventSourceConfiguration configuration) { stateRuntime = new DomainObjectStateRuntime(this, configuration); }