/*******************************************************************************
* Copyright (c) 2016 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.eef.tests.internal;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
/**
* Utility services for tests.
*
* @author sbegaudeau
*/
public class EEFTestServices {
/**
* Sets the value of the given structural feature for the given EObject.
*
* @param eObject
* The EObject
* @param eStructuralFeature
* The structural feature
* @param newValue
* The new value
*/
public void eSet(EObject eObject, EStructuralFeature eStructuralFeature, Object newValue) {
eObject.eSet(eStructuralFeature, newValue);
}
}