### Question:
NodeCacheManager { public static void saveDataNode(String graphId, String id, Object node) { validateRequired(graphId, id, node, GraphCacheErrorCodes.ERR_CACHE_SAVE_DEF_NODE_ERROR.name()); String key = CacheKeyGenerator.getKey(graphId, id, RedisKeysEnum.DATA_NODE.name()); dataNodeCache.put(key, node); TelemetryManager.log("Saved data node into cache having identifier: " + id + " into graph: "+ graphId); }  static void saveDefinitionNode(String graphId, String objectType, Object node); static Object getDefinitionNode(String graphId, String objectType); static Object deleteDefinitionNode(String graphId, String objectType); static void saveDataNode(String graphId, String id, Object node); static Object getDataNode(String graphId, String id); static Object deleteDataNode(String graphId, String id);  }### Answer:
@Test(expected = ClientException.class) public void saveDataNodeWithoutGraphId() { NodeCacheManager.saveDataNode(null, "content_node_1", "ContentNode"); }
@Test(expected = ClientException.class) public void saveDataNodeWithoutObjectType() { NodeCacheManager.saveDataNode("domain", null, "ContentNode"); }
@Test(expected = ClientException.class) public void saveDataNodeWithoutNode() { NodeCacheManager.saveDataNode("domain", "content_node_1", null); }
@Test(expected = ClientException.class) public void saveDataNodeWithoutNodeAndObjectType() { NodeCacheManager.saveDataNode(null, null, "ContentNode_1"); }
@Test(expected = ClientException.class) public void saveDataNodeWithoutGraphIdAndNode() { NodeCacheManager.saveDataNode(null, null, "ContentNode_1"); }
@Test(expected = ClientException.class) public void saveDataNodeWithoutGraphIdAndObjectType() { NodeCacheManager.saveDataNode(null, null, "ContentNode_1"); }
@Test(expected = ClientException.class) public void saveDataNodeWithoutAllParams() { NodeCacheManager.saveDataNode(null, null, null); }