public void ConnectingPolymorphicTypes()
{
StartPoint<B> s = new StartPoint<B>((IWritableQueue<B> q) => q.Send(new B()));
EndPoint<A> e = new EndPoint<A>((A q) => { });
Flow flow = new Flow();
flow.AddNode(s);
flow.AddNode(e);
flow.ConnectNodes(s, e, 0);
}