package test.thread;

import com.google.inject.internal.Maps;

import org.testng.annotations.Test;

import java.util.HashMap;
import java.util.Map;

public class B {
  public static Map<Long, Long> m_threadIds = Maps.newHashMap();

  public static void setUp() {
    m_threadIds = new HashMap<Long, Long>();
  }

  @Test
  public void f2() {
    Long id = Thread.currentThread().getId();
    m_threadIds.put(id, id);
  }

  private static void ppp(String s) {
    System.out.println("[FactoryTest] " + s);
  }

}
