Beispiel #1
0
        public void GetCombination_WhenCombinationExists_DoesNotThrow()
        {
            _stubKeyGen.Expect(kg => kg.Generate(_combination.Sources)).Return("foo");
            var key = _storage.Store(_combination);
            IncludeCombination result = _storage.GetCombination(key);

            Assert.AreEqual(_combination.Content, result.Content);
        }
Beispiel #2
0
 public IncludeCombination GetCombination(string key)
 {
     return(_storage.GetCombination(key));
 }