public async Task SendFromClient() { InMemoryHelper.FillData(clCfg, clSession, false); var scopes = Scopes.GetOrderedUploadScopes(); var types = scopes.SelectMany(x => x.GetTypes()); var entitiesCount = new Dictionary <Type, int>(); object al = null; foreach (var type in types) { entitiesCount[type] = clSession.QueryOver(type.Name, () => al).RowCount(); } await s.WithoutCustomVocsInDoc().SendFrom(Side.Client, scopes); foreach (var type in types) { Assert.AreEqual(entitiesCount[type], sSession.QueryOver(type.Name, () => al).RowCount()); } }