Beispiel #1
0
        public void ListSubmissions_ReturnsSubmissions()
        {
            var action = new ListSubmissions {
                Limit = 1
            };

            var result = action.Invoke();

            result.Count.Should().Be(1);
            var submission = result.Single();

            submission.DatasetId.Should().BeGreaterThan(0);
            submission.WorkflowId.Should().BeGreaterThan(0);
            submission.Id.Should().BeGreaterThan(0);
            submission.InputFile.Should().NotBeEmpty();
        }
 public static List <ISubmission> Invoke(this ListSubmissions listSubmissions) =>
 listSubmissions.Invoke <ListSubmissions, List <ISubmission> >((a, outArg) => a.Submissions = outArg);