public void InsertBeforeLast()
            {
                // Given
                ModuleList collection = new ModuleList(
                    new RedModule(),
                    new RedModule(),
                    new GreenModule());

                // When
                collection.InsertBeforeLast <RedModule>(new CountModule("foo"));

                // Then
                Assert.AreEqual(collection[0].GetType(), typeof(RedModule));
                Assert.AreEqual(collection[1].GetType(), typeof(CountModule));
                Assert.AreEqual(collection[2].GetType(), typeof(RedModule));
                Assert.AreEqual(collection[3].GetType(), typeof(GreenModule));
            }