public void GetName()
        {
            Assert.Throws <ArgumentNullException>(() => _b.GetName(null));

            _b.AddInput <int>("yep");

            Assert.AreEqual(NameType.Empty, _b.GetName("nope"));
            Assert.AreEqual(NameType.From <int>("yep"), _b.GetName("yep"));

            _dp = _b.Build();
            Assert.Throws <InvalidOperationException>(() => _b.GetName("a"));
        }
        public void GetAllNames()
        {
            CollectionAssert.IsEmpty(_b.GetAllNames());

            _b.AddInput <int>("a");
            _b.AddInput <float>("b");
            _b.AddInput <char>("c");

            var expected = new[]
            {
                NameType.From <int>("a"),
                NameType.From <float>("b"),
                NameType.From <char>("c"),
            };

            CollectionAssert.AreEquivalent(expected, _b.GetAllNames());

            _dp = _b.Build();
            Assert.Throws <InvalidOperationException>(() => _b.GetAllNames());
        }