### Question:
GraphTaskOperations implements TaskOperationsDefinition { @Override public List<String> getOperationsList() { Set<String> operationsList = new HashSet<String>(); for (OperationsDefinition def : this.definition) { if ((def.getTransitions() != null)) { for (DestinationDefinition destination : def.getTransitions()) { operationsList.add(destination.getAction()); } } } return new ArrayList<String>(operationsList); } GraphTaskOperations(InputStream graphConfigurationFile); @Override List<String> getOperationsList(); @Override List<String> getOperations(String state);  }### Answer:
@Test public void getOperationsList() { List<String> list = operations.getOperationsList(); Assert.assertEquals(7, list.size()); Assert.assertTrue(list.contains("claim")); Assert.assertTrue(list.contains("start")); Assert.assertTrue(list.contains("complete")); Assert.assertTrue(list.contains("fail")); Assert.assertTrue(list.contains("release")); Assert.assertTrue(list.contains("suspend")); Assert.assertTrue(list.contains("stop")); }