public void SetFontForAll() { _sut.Add("dummy name 1", new NoteMetadata { FontFamily = "Arial" }); _sut.Add("dummy name 2", new NoteMetadata { FontFamily = "Open Sans" }); const string newFont = "Roboto"; _sut.SetFontForAll(newFont); NoteMetadata dummy1Metadata = _sut.Get("dummy name 1"); Assert.Equal(newFont, dummy1Metadata.FontFamily); NoteMetadata dummy2Metadata = _sut.Get("dummy name 2"); Assert.Equal(newFont, dummy2Metadata.FontFamily); }
public void SetFontForAll(string font) { _notesMetadataService.SetFontForAll(font); }