@Test public void testComputeGraph() throws VitamClientException { assertNotNull(client.computeGraph(GraphComputeResponse.GraphComputeAction.UNIT, Sets.newHashSet())); }
@Override public GraphComputeResponse computeGraph(JsonNode queryDsl) throws VitamClientException { return new GraphComputeResponse(3, 3); }
MetaDataClientMock extends AbstractMockClient implements MetaDataClient { @Override public GraphComputeResponse computeGraph(JsonNode queryDsl) throws VitamClientException { return new GraphComputeResponse(3, 3); } }
MetaDataClientMock extends AbstractMockClient implements MetaDataClient { @Override public GraphComputeResponse computeGraph(JsonNode queryDsl) throws VitamClientException { return new GraphComputeResponse(3, 3); }  }
MetaDataClientMock extends AbstractMockClient implements MetaDataClient { @Override public GraphComputeResponse computeGraph(JsonNode queryDsl) throws VitamClientException { return new GraphComputeResponse(3, 3); }  @Override JsonNode insertUnitBulk(BulkUnitInsertRequest request); @Override JsonNode selectUnits(JsonNode selectQuery); @Override JsonNode selectUnitbyId(JsonNode selectQuery, String unitId); @Override JsonNode selectObjectGrouptbyId(JsonNode selectQuery, String objectGroupId); @Override JsonNode updateUnitById(JsonNode updateQuery, String unitId); @Override JsonNode insertObjectGroup(JsonNode insertQuery); @Override JsonNode insertObjectGroups(List<JsonNode> insertQuery); @Override List<UnitPerOriginatingAgency> selectAccessionRegisterOnUnitByOperationId(String operationId); @Override List<ObjectGroupPerOriginatingAgency> selectAccessionRegisterOnObjectByOperationId(String operationId); @Override JsonNode selectObjectGroups(JsonNode selectQuery); @Override void updateObjectGroupById(JsonNode objectGroup, String objectGroupId); @Override boolean refreshUnits(); @Override boolean refreshObjectGroups(); @Override JsonNode reindex(IndexParameters indexParam); @Override JsonNode switchIndexes(SwitchIndexParameters switchIndexParam); @Override RequestResponse<JsonNode> getUnitByIdRaw(String unitId); @Override RequestResponse<JsonNode> getObjectGroupByIdRaw(String objectGroupId); RequestResponse<JsonNode> getUnitsByIdsRaw(Collection<String> unitIds); @Override RequestResponse<JsonNode> getObjectGroupsByIdsRaw(Collection<String> objectGroupIds); @Override GraphComputeResponse computeGraph(JsonNode queryDsl); @Override GraphComputeResponse computeGraph(GraphComputeResponse.GraphComputeAction action, Set<String> ids); @Override RequestResponse<JsonNode> updateUnitBulk(JsonNode updateQuery); @Override RequestResponse<JsonNode> updateUnitsRulesBulk(List<String> unitsIds, RuleActions actions,
        Map<String, DurationData> rulesToDurationData); @Override void exportReclassificationChildNodes(Set<String> ids, String unitsToUpdateJsonLineFileName,
        String objectGroupsToUpdateJsonLineFileName); @Override JsonNode selectUnitsWithInheritedRules(JsonNode selectQuery); @Override JsonNode createAccessionRegisterSymbolic(); @Override void deleteUnitsBulk(Collection<String> listIds); @Override void deleteObjectGroupBulk(Collection<String> listIds); }
MetaDataClientMock extends AbstractMockClient implements MetaDataClient { @Override public GraphComputeResponse computeGraph(JsonNode queryDsl) throws VitamClientException { return new GraphComputeResponse(3, 3); }  @Override JsonNode insertUnitBulk(BulkUnitInsertRequest request); @Override JsonNode selectUnits(JsonNode selectQuery); @Override JsonNode selectUnitbyId(JsonNode selectQuery, String unitId); @Override JsonNode selectObjectGrouptbyId(JsonNode selectQuery, String objectGroupId); @Override JsonNode updateUnitById(JsonNode updateQuery, String unitId); @Override JsonNode insertObjectGroup(JsonNode insertQuery); @Override JsonNode insertObjectGroups(List<JsonNode> insertQuery); @Override List<UnitPerOriginatingAgency> selectAccessionRegisterOnUnitByOperationId(String operationId); @Override List<ObjectGroupPerOriginatingAgency> selectAccessionRegisterOnObjectByOperationId(String operationId); @Override JsonNode selectObjectGroups(JsonNode selectQuery); @Override void updateObjectGroupById(JsonNode objectGroup, String objectGroupId); @Override boolean refreshUnits(); @Override boolean refreshObjectGroups(); @Override JsonNode reindex(IndexParameters indexParam); @Override JsonNode switchIndexes(SwitchIndexParameters switchIndexParam); @Override RequestResponse<JsonNode> getUnitByIdRaw(String unitId); @Override RequestResponse<JsonNode> getObjectGroupByIdRaw(String objectGroupId); RequestResponse<JsonNode> getUnitsByIdsRaw(Collection<String> unitIds); @Override RequestResponse<JsonNode> getObjectGroupsByIdsRaw(Collection<String> objectGroupIds); @Override GraphComputeResponse computeGraph(JsonNode queryDsl); @Override GraphComputeResponse computeGraph(GraphComputeResponse.GraphComputeAction action, Set<String> ids); @Override RequestResponse<JsonNode> updateUnitBulk(JsonNode updateQuery); @Override RequestResponse<JsonNode> updateUnitsRulesBulk(List<String> unitsIds, RuleActions actions,
        Map<String, DurationData> rulesToDurationData); @Override void exportReclassificationChildNodes(Set<String> ids, String unitsToUpdateJsonLineFileName,
        String objectGroupsToUpdateJsonLineFileName); @Override JsonNode selectUnitsWithInheritedRules(JsonNode selectQuery); @Override JsonNode createAccessionRegisterSymbolic(); @Override void deleteUnitsBulk(Collection<String> listIds); @Override void deleteObjectGroupBulk(Collection<String> listIds);  }