public void CreateMutations_WhenCreatingMutationsAndDontHaveFilter_ShouldGetMutationsForDocuments()
        {
            var config = ConfigCreator.CreateConfig();

            var mutationDocuments = _mutationDocumentCreator.CreateMutations(config);

            Assert.AreEqual(3, mutationDocuments.Count);
        }
Ejemplo n.º 2
0
 public Task <IList <MutationDocument> > Handle(CreateMutationsCommand command, CancellationToken cancellationToken)
 {
     return(Task.FromResult(_mutationsCreator.CreateMutations(command.Config, cancellationToken)));
 }