コード例 #1
0
        public void TestConstructor()
        {
            const string name = "SomeName!";
            var layout = new SimpleLayout
                             {
                                 Text = "SomeText"
                             };

            var field = new MongoDBTargetField(name, layout);

            field.Name
                .Should().Be(name);
            field.Layout
                .Should().Be(layout);
        }
コード例 #2
0
        public void TestConstructor()
        {
            const string name   = "SomeName!";
            var          layout = new SimpleLayout
            {
                Text = "SomeText"
            };

            var field = new MongoDBTargetField(name, layout);

            field.Name
            .Should().Be(name);
            field.Layout
            .Should().Be(layout);
        }