Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 private bool Execute(TestDistinctCommand command)
 {
     return(true);
 }
Exemplo n.º 3
0
 public bool Execute(TestDistinctCommand command)
 {
     return(true);
 }