use of org.pentaho.metaverse.api.model.IOperation in project pentaho-metaverse by pentaho.
the class ComponentDerivationRecordTest method testPutOperationNullOperands.
@Test
public void testPutOperationNullOperands() throws Exception {
Operations operations = record.getOperations();
assertNotNull(operations);
assertTrue(operations.isEmpty());
record.addOperation(new Operation("testOperation", null));
operations = record.getOperations();
assertNotNull(operations);
List<IOperation> checkOperands = operations.get("testOperation");
assertNull(checkOperands);
}
Aggregations