@Test(timeout = 10000)
  @Ignore
  public void testRemoveBinaryImage() {
    BinaryImage binaryImage = persistenceService.storeBinaryImage(createBinaryImage());

    assertTrue(persistenceService.loadAllBinaryImages().size() == 1);

    persistenceService.removeBinaryImage(binaryImage.getId());

    assertTrue(persistenceService.loadAllBinaryImages().isEmpty());
  }
  @Test(timeout = 30000)
  @Ignore
  public void testLoadAllBinaryImages() {
    final int noOfConfigurations = 5;

    for (int i = 0; i < noOfConfigurations; i++) {
      persistenceService.storeBinaryImage(createBinaryImage());
    }

    assertTrue(persistenceService.loadAllBinaryImages().size() == noOfConfigurations);
  }
  @Test(timeout = 30000)
  @Ignore
  public void testLoadAllTestbedConfigurations() {
    final int noOfConfigurations = 5;

    for (int i = 0; i < noOfConfigurations; i++) {
      persistenceService.storeTestbedConfiguration(createTestbedConfiguration("load-all-testbed"));
    }

    assertTrue(persistenceService.loadAllTestbedConfigurations().size() >= noOfConfigurations);
  }
  @Test(timeout = 10000)
  @Ignore
  public void testRemoveTestbedConfiguration() {
    TestbedConfiguration testbedConfiguration =
        persistenceService.storeTestbedConfiguration(createTestbedConfiguration("remove-testbed"));

    assertTrue(persistenceService.loadAllTestbedConfigurations().size() >= 1);
    int size = persistenceService.loadAllTestbedConfigurations().size();

    persistenceService.removeTestbedConfiguration(testbedConfiguration.getId());

    assertTrue(persistenceService.loadAllTestbedConfigurations().size() == (size - 1));
  }
  @Test(timeout = 10000)
  @Ignore
  public void testLoadBinaryImage() {
    BinaryImage binaryImage = createBinaryImage();

    // Store binary image
    BinaryImage persistedBinaryImage = persistenceService.storeBinaryImage(binaryImage);

    assertNotNull("persistedBinaryImage is null", persistedBinaryImage);
    assertNotNull("persistedBinaryImage's ID is null", persistedBinaryImage.getId());

    // Load binary image
    BinaryImage loadedBinaryImage =
        persistenceService.loadBinaryImage(persistedBinaryImage.getId());

    assertNotNull("loadedBinaryImage is null", loadedBinaryImage);
    assertNotNull("loadedBinaryImage's ID is null", loadedBinaryImage.getId());

    assertEquals(loadedBinaryImage, persistedBinaryImage);

    LOGGER.info(loadedBinaryImage.toString());
  }
  @Test(timeout = 10000)
  @Ignore
  public void testStoreTestbedConfiguration() {
    TestbedConfiguration testbedConfiguration = createTestbedConfiguration("store-testbed");

    TestbedConfiguration persistedTestbedConfiguration =
        persistenceService.storeTestbedConfiguration(testbedConfiguration);

    assertNotNull("persistedTestbedConfiguration is null", persistedTestbedConfiguration);
    assertNotNull(
        "persistedTestbedConfiguration's ID is null", persistedTestbedConfiguration.getId());

    LOGGER.info(persistedTestbedConfiguration.toString());
  }
  @Test(timeout = 10000)
  @Ignore
  public void testStoreBinaryImage() {
    BinaryImage binaryImage = createBinaryImage();

    assertNotNull(binaryImage.getContent());

    BinaryImage persistedBinaryImage = persistenceService.storeBinaryImage(binaryImage);

    assertNotNull("persistedBinaryImage is null", persistedBinaryImage);
    assertNotNull("persistedBinaryImage's ID is null", persistedBinaryImage.getId());

    LOGGER.info(persistedBinaryImage.toString());
  }
  @Test(timeout = 10000)
  @Ignore
  public void testLoadTestbedConfiguration() {
    TestbedConfiguration testbedConfiguration = createTestbedConfiguration("load-testbed");

    // Store testbed configuration
    TestbedConfiguration persistedTestbedConfiguration =
        persistenceService.storeTestbedConfiguration(testbedConfiguration);

    assertNotNull("persistedTestbedConfiguration is null", persistedTestbedConfiguration);
    assertNotNull(
        "persistedTestbedConfiguration's ID is null", persistedTestbedConfiguration.getId());

    // Load testbed configuration
    TestbedConfiguration loadedTestbedConfiguration =
        persistenceService.loadTestbedConfiguration(persistedTestbedConfiguration.getId());

    assertNotNull("loadedTestbedConfiguration is null", loadedTestbedConfiguration);
    assertNotNull("loadedTestbedConfiguration's ID is null", loadedTestbedConfiguration.getId());

    // assertEquals(loadedTestbedConfiguration, persistedTestbedConfiguration);

    LOGGER.info(loadedTestbedConfiguration.toString());
  }