anchor.diff:      ?assertMatch(
           [],
           connections(Spec2)
  +    ),
  +    ?assertMatch(
  +        {ok, Pid1},
  +        dispatch_pid(node1)
  +    ),
  +    ?assertMatch(
  +        {ok, Pid1},
  +        dispatch_pid(spec1())
  +    ),
  +    ?assertMatch(
  +        {ok, Pid1},
  +        dispatch_pid(node1, undefined)
  +    ),
  +    ?assertMatch(
  +        {ok, Pid2},
  +        dispatch_pid(node1, {monotonic, foo})
  +    ),
  +    ?assertMatch(
  +        {ok, Pid1},
  +        dispatch_pid(node1, unknown_channel)
  +    ),
  +    ?assertMatch(
  +        {ok, Pid1},
  +        dispatch_pid(node1, undefined, 100)
  +    ),
  +    ?assertMatch(
  +        {ok, Pid2},
  +        dispatch_pid(node1, {monotonic, foo}, 100)
       ).
   
   
  
positive.code:     ?assertMatch(
          [#partisan_peer_connection{pid = Pid3}],
          connections(Spec2)
      ).
  
  
  several_nodes_foo_test() ->
  
negative.code:     ?assertMatch(
          [#partisan_peer_connection{pid = Pid1}],
          connections(Spec1)
      ),
      ?assertMatch(
          {ok, Pid1},
          dispatch_pid(node1)
      ),
      ?assertMatch(
          {ok, Pid1},
          dispatch_pid(spec1())
      ),
      ?assertMatch(
          {ok, Pid1},
          dispatch_pid(node1, undefined)
      ),
      ?assertMatch(
          {ok, Pid1},
          dispatch_pid(node1, {monotonic, foo})
      ),
      ?assertMatch(
          {ok, Pid1},
          dispatch_pid(node1, unknown_channel)
      ),
      ?assertMatch(
          {ok, Pid1},
          dispatch_pid(node1, undefined, 100)
      ).
  
  
  