public void TestPathBuilderSizeException()
        {
            var thrownException = Assert.Throws <ArgumentException>(() =>
            {
                var pathBuilder = new PathBuilder(0);

                pathBuilder.Build();
            });

            Assert.Equal("Path builder nodes count should be edge count + 1", thrownException.Message);
        }
        public void TestPathBuilderArgumentsExceptionNodeExpected()
        {
            var thrownException = Assert.Throws <ArgumentException>(() =>
            {
                var builder = new PathBuilder(0);

                builder.Append(new Edge());
            });

            Assert.Equal("Path builder expected Node but was Edge.", thrownException.Message);
        }