public void Remove_Call_OnDictionaryRemoved_OnSuccess() { bool res; var dicionary = _DictionaryFourElements.Remove("Key3", out res); _DictionarySwitcher.Received(1).CheckDictionaryRemoved(_DictionaryFourElements); }
public void AddMutable_Call_DictionarySwitcher_Add() { _DictionaryTwoElements.AddMutable("Key2", "Value2"); _DictionarySwitcher.Received(1).Add(_DictionaryTwoElements, "Key2", "Value2"); }
public void Add_Call_DictionarySwitcher_Add() { var res = _DictionaryOneElement.AddMutable("Key1", "Value1"); _DictionarySwitcher.Received(1).GetIntermediateCollection(_DictionaryOneElement); }