/** * Test whether the creation date of the product variable is set properly when persisted for the * first time. */ @Test public void testCreationDate() { Product prod = new Product("test-label", "test-product-name", owner); productCurator.create(prod); assertNotNull(prod.getCreated()); }