anchor.diff:    group('rpc-generator-failing', () {
       test('wrong-api-file', () {
         var packagePath = setupPackage();
  -      var fileName =  join('lib', 'toyapi.dart');
  +      var fileName =  join(packagePath, 'lib', 'toyapi.dart');
         var result = runGenerator(
             packagePath, ['discovery', '-i', fileName]);
         expect(result.stdout.startsWith('Cannot find API file \'$fileName\''),
  
positive.code:       var rpcExamplePath = join(rpcRootPath, 'example');
        copyFiles(rpcExamplePath, libPath, ['toyapi.dart']);
        var result = runGenerator(
            packagePath, ['client', '-i', join('lib', 'toyapi.dart')]);
        expect(result.stdout.contains('must be in a valid package.'), isTrue);
      });
  
  
negative.code:       }
        expect(result.exitCode, 0);
        result = runGenerator(
            packagePath, ['client', '-i', join(libPath, 'toyapi.dart')]);
        expect('[SUCCESS]'.allMatches(result.stdout).length, 1);
        expect(
            identicalFiles(libPath, 'toyapi.dart', 'expected_toyapi.dartt'),
  