public void GetAllItemsFromSet_Throws() { // GIVEN WHEN THEN Assert.Throws <HangfireElasticSearchException>(() => _elasticConnection.GetAllItemsFromSet("key")); }
public void GetAllItemsFromSet_WithNullKey_Throws() { Assert.Throws <ArgumentNullException>(() => _elasticConnection.GetAllItemsFromSet(null)); }