コード例 #1
0
        public void AddArgumentValue_AddsArgument()
        {
            MethodInvocationContext context = new MethodInvocationContext();

            context.AddArgumentValue(5);

            DatasourceFactory factory = context.GetArguments().First();

            Assert.NotNull(factory);
        }
コード例 #2
0
        public void AddArgumentSource_AddsArgument()
        {
            MethodInvocationContext context = new MethodInvocationContext();

            context.AddArgumentSource(typeof(RandomStringSource));

            DatasourceFactory factory = context.GetArguments().First();

            Assert.NotNull(factory);
        }