public abstract class EnhancerTestUtils extends BaseUnitTestCase
executorService, globalTimeout, log
Constructor and Description |
---|
EnhancerTestUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
checkDirtyTracking(Object entityInstance,
String... dirtyFields)
compares the dirty fields of an entity with a set of expected values
|
static void |
clearDirtyTracking(Object entityInstance)
clears the dirty set for an entity
|
static Object |
getFieldByReflection(Object entity,
String fieldName) |
static EntityEntry |
makeEntityEntry() |
assertNoLeaks, executeAsync, executeSync, releaseTransactions, sleep
public static void clearDirtyTracking(Object entityInstance)
public static void checkDirtyTracking(Object entityInstance, String... dirtyFields)
public static EntityEntry makeEntityEntry()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.