use of com.tngtech.archunit.core.domain.ImportContext in project ArchUnit by TNG.
the class ImportTestUtils method simulateImport.
private static JavaClass simulateImport(Class<?> owner, ImportedTestClasses importedClasses) {
JavaClass javaClass = ImportTestUtils.javaClassFor(owner);
importedClasses.register(javaClass);
ImportContext context = simulateImportContext(owner, importedClasses);
DomainObjectCreationContext.completeMembers(javaClass, context);
return javaClass;
}
Aggregations