static MockContentSource DefaultMock()
        {
            var source = new MockContentSource();

            source.SetVersion("1.0", new DateTime(2020, 1, 1));
            source.SetData("en-US", new Dictionary <string, string> {
                { "A", "ValA" }
            });

            return(source);
        }
 private static ContentItem GetItem(MockContentSource mock, string name)
 {
     return(mock.GetAllContentItemsAsync("en-US")
            .ContinueWith(task => task.Result.First(i => i.Name == name))
            .ConfigureAwait(false).GetAwaiter().GetResult());
 }