@Test
public void testVersioningForProductTypeNotDefined() throws VersioningException {

  ProductType pt = new ProductType();
  pt.setProductRepositoryPath("file:/base/path");
  pt.setName("TEST_TYPE2");
  product.setProductType(pt);
  expectedException.expect(VersioningException.class);
  versioner.createDataStoreReferences(product, metadata);
}