/**
   * Sets the up.
   *
   * @throws Exception the exception
   */
  @Before
  public void setUp() throws Exception {
    String filename = "config.properties";
    InputStream input = WatsonServiceTest.class.getClassLoader().getResourceAsStream(filename);
    if (input == null) throw new RuntimeException(filename + " was not found.");

    // load a properties file from class path, inside static method
    prop.load(input);

    setupLogging();
  }