/**
   * Adds the fact_without_wt table.
   *
   * @throws java.io.IOException
   */
  public static void addFactTable() throws IOException, URISyntaxException {
    LensFactCommands command = getCommand();
    String factList = command.showFacts(null);
    Assert.assertEquals(command.showFacts(CUBE_NAME), "No fact found for " + CUBE_NAME);
    Assert.assertEquals(factList, "No fact found", "Fact tables should not be found.");
    // add local storage before adding fact table
    TestLensStorageCommands.addLocalStorage(FACT_LOCAL);
    URL factSpec =
        TestLensFactCommandsWithMissingWeight.class.getClassLoader().getResource(FACT_XML_FILE);
    String response = null;
    response = command.createFact(new File(factSpec.toURI()));

    Assert.assertEquals(response, "failed", "Fact table creation should not be successful.");
    Assert.assertEquals(
        command.showFacts(CUBE_NAME),
        "No fact found for " + CUBE_NAME,
        "Fact tables should not be found.");
  }
 /**
  * Test storage commands.
  *
  * @throws IOException
  */
 @Test
 public void testStorageCommands() throws IOException {
   addLocalStorage("local_storage_test");
   testUpdateStorage("local_storage_test");
   dropStorage("local_storage_test");
 }