Ejemplo n.º 1
0
        public void DictionaryBatchSyncProviderShouldHaveAValidStringForNonNullableItems()
        {
            var provider = new DictionaryBatchSyncProvider <int, int>();

            provider.Items = new Dictionary <int, int>();
            provider.Items.Add(1, 1);

            provider.ToString().Should().Be(provider.Items.ToString());
        }
Ejemplo n.º 2
0
        public void DictionaryBatchSyncProviderShouldHaveAValidStringForNullableItems()
        {
            var provider = new DictionaryBatchSyncProvider <int, int>();

            provider.ToString().Should().NotBeNullOrWhiteSpace();
        }