コード例 #1
0
        public void WhenGroupHasAncestry_ThenResultShouldContainItSelf()
        {
            var query = new QueryGroupAncestry(base.connectionString);

            query.Execute(baz)
            .Should().Have.SameValuesAs(foo, bar, baz);
        }
コード例 #2
0
        public void WhenGroupHasNoAncestry_ThenResultShouldContainItSelf()
        {
            var query = new QueryGroupAncestry(base.connectionString);

            query.Execute(foo)
            .Should().Contain(foo);
        }