public void Test_GetPins_ReturnsOnlyInputs()
        {
            SampleNode sampleNode = new SampleNode();
            var inputs = sampleNode.GetPins(PinType.Input);

            Assert.That(inputs, Is.Not.Null);
            Assert.That(inputs.Select(x => x.Name), Is.EquivalentTo(new[] {"Input1", "Input2"}));
        }
 public void Test_GetPins_ThrowsIfPintypeIsNone()
 {
     SampleNode sampleNode = new SampleNode();
     Assert.That(delegate
     {
         sampleNode.GetPins(PinType.None).ToList();
     }, Throws.Exception);
 }