Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
AggregateSource
EventStore
Snapshots
SnapshotTests
CreateSutWithState
AggregateSource.EventStore.Snapshots.SnapshotTests.CreateSutWithState C# (CSharp) Method
SnapshotTests Class Documentation
Show file
Open project: yreynhout/AggregateSource
CreateSutWithState()
private
method
private
CreateSutWithState
(
object
state
) :
AggregateSource.EventStore.Snapshots.Snapshot
state
object
return
AggregateSource.EventStore.Snapshots.Snapshot
Snapshot CreateSutWithState(object state) { return _sutBuilder.WithState(state).Build(); } }
SnapshotTests
CreateSut
CreateSutWithState
CreateSutWithVersion
DoesNotEqualNull
SetUp
TwoInstancesAreEqualIfTheyHaveTheSameVersionAndState
TwoInstancesAreEqualIfTheyHaveTheSameVersionAndStateIsNullForBoth
TwoInstancesAreNotEqualIfTheirStateDiffers
TwoInstancesAreNotEqualIfTheirVersionDiffers
TwoInstancesHaveDifferentHashCodesIfTheirStateDiffers
TwoInstancesHaveDifferentHashCodesIfTheirVersionDiffers
TwoInstancesHaveTheSameHashCodeIfTheyHaveTheSameVersionAndState
TwoInstancesHaveTheSameHashCodeIfTheyHaveTheSameVersionAndStateIsNullForBoth
UsingConstructorReturnsInstanceWithExpectedProperties