/** * Test method for {@link * org.eclipse.papyrus.layers.stackmodel.layers.impl.CustomPropertyOperatorImpl#getComputePropertyValueCommand(org.eclipse.emf.common.util.EList)}. * * @throws LayersException */ @Test public void testGetComputePropertyValueCommand() throws LayersException { CustomPropertyOperator operator = LayersFactory.eINSTANCE.createCustomPropertyOperator(); FakePropertyOperator opInstance = new FakePropertyOperator(); operator.setOperatorInstance(opInstance); // Check operator.getComputePropertyValueCommand(null); // Check if the corresponding method of the custom operator is called. assertTrue("custom op getCmd method is called", opInstance.isComputePropertyValueCommandCalled); }