anchor.diff:  
         fuchsiaPortForwardingFunction = mockPortForwardingFunction;
         fuchsiaVmServiceConnectionFunction = mockVmConnectionFunction;
  +    });
   
  +    tearDown(() {
  +      /// Most tests will mock out the port forwarding and connection
  +      /// functions.
  +      restoreFuchsiaPortForwardingFunction();
  +      restoreVmServiceConnectionFunction();
  +    });
  +
  +    test('end-to-end with three vm connections and flutter view query',
  +        () async {
         final FuchsiaRemoteConnection connection =
             await FuchsiaRemoteConnection.connectWithSshCommandRunner(mockRunner);
   
  
positive.code:         },
        ];
  
        final List<MockPeer> mockPeerConnections = <MockPeer>[];
        final List<Uri> uriConnections = <Uri>[];
        Future<json_rpc.Peer> mockVmConnectionFunction(Uri uri) {
          return new Future<json_rpc.Peer>(() async {
            final MockPeer mp = new MockPeer();
  
negative.code: void main() {
    group('FuchsiaRemoteConnection.connect', () {
      MockSshCommandRunner mockRunner;
      List<MockPortForwarder> forwardedPorts;
      List<MockPeer> mockPeerConnections;
      List<Uri> uriConnections;
  
      setUp(() {
        mockRunner = new MockSshCommandRunner();
        // Adds some extra junk to make sure the strings will be cleaned up.
        when(mockRunner.run(typed(any))).thenAnswer((_) =>
            new Future<List<String>>.value(
                <String>['123\n\n\n', '456  ', '789']));
        const String address = 'fe80::8eae:4cff:fef4:9247';
        const String interface = 'eno1';
        when(mockRunner.address).thenReturn(address);
        when(mockRunner.interface).thenReturn(interface);
        forwardedPorts = <MockPortForwarder>[];
        int port = 0;
        Future<PortForwarder> mockPortForwardingFunction(
            String address, int remotePort,
            [String interface = '', String configFile]) {
  