public void ConventionWithInterfaceWasCalled() { DomainObjectStateRuntime sut = GetSut(); var state = sut.State <TestState>(true); Assert.Equal(1, state.Counter); }
public T State <T>() where T : StateBase, new() { return(stateRuntime.State <T>(includeUncommittedStreamsDefault)); }