public void ReturnTwoSessionsIfADependentSessionIsSpecified()
        {
            var actual = new SessionCollectionBuilder()
                         .AddSessionWithDependency(new SessionBuilder(), new SessionBuilder())
                         .Build();

            Assert.Equal(2, actual.Count());
        }
        public void ReturnTheCorrectNumberOfSessionsIfADependentSessionCollectionIsSpecified()
        {
            int primarySessionId = Int32.MaxValue.GetRandom();
            var primarySession   = new SessionBuilder()
                                   .Id(primarySessionId);

            var collectionBuilder = new SessionCollectionBuilder()
                                    .AddSession(new SessionBuilder())
                                    .AddSession(new SessionBuilder());

            var actual = new SessionCollectionBuilder()
                         .AddSessionWithDependency(primarySession, collectionBuilder)
                         .Build();

            Assert.Equal(3, actual.Count());
        }