code: public void restoreAllMockRouteTable(final Collection<MockRouteTable> routeTables) {
          allMockRouteTables.clear();
          if (null != routeTables) {
              for (MockRouteTable instance : routeTables) {
                  allMockRouteTables.put(instance.getRouteTableId(), instance);
              }
          }
      }
docs: Clear {@link #allMockRouteTables} and restore it from given a collection of instances.
  
  @param routeTables
  collection of MockRouteTable to restore