private void assertStorageState(StorageState storageState) {
    assertNotNull("BundleStorageState not null", storageState);

    File storageDir = storageState.getStorageDir();
    assertNotNull("Storage dir not null", storageDir);
    assertNotNull("Location not null", storageState.getLocation());
    assertTrue("Storage dir exists", storageDir.exists());

    File propertiesFile = new File(storageDir + "/" + StorageState.BUNDLE_PERSISTENT_PROPERTIES);
    assertTrue("Properties file exists", propertiesFile.exists());
  }