public void Arguments(string aggregateId, int magicNumber, string expectedSouceId) { var testId = TestAggregateId.With(aggregateId); var command = new TestDistinctCommand(testId, magicNumber); var sourceId = command.SourceId; sourceId.Value.Should().Be(expectedSouceId); command.GetSourceId().Value.Should().Be(expectedSouceId); }
private bool Execute(TestDistinctCommand command) { return(true); }
public bool Execute(TestDistinctCommand command) { return(true); }