* Constructs {@link TypeAssociation} from the given source to the specified
* destination.
*/
public static TypeAssociation createTypeAssociation(CodeBlock srcFile, CodeBlock srcCodeBlock,
CodeBlock targetFile, CodeBlock targetCodeBlock) {
TypeAssociationImpl result = MockTypeAssociationImpl.make();
result.setSourceFileId(srcFile.getId()).setSourceLocalId(srcCodeBlock.getId())
.setTargetFileId(targetFile.getId()).setTargetLocalId(targetCodeBlock.getId())
.setIsRootAssociation(false);
return result;
}