private void AttestationThemeTestSelects() { List <AttestationTheme> listActual = dictionaryStorage.AttestationThemeGetAll().Result; for (int i = 0; i < listAttestationTheme.Count; i++) { Assert.Contains(listAttestationTheme[i], listActual); } AttestationTheme actualAttestationTheme = dictionaryStorage.AttestationThemeGetByID((int)listAttestationTheme[0].Id).Result; Assert.AreEqual(listAttestationTheme[0], actualAttestationTheme); }