public void AddConversationEntitiesTest() { var conversationRepository = new ConversationRepository(); var conversations = new List <Conversation> { new Conversation(1), new Conversation(2) }; foreach (Conversation conversation in conversations) { conversationRepository.AddEntity(conversation); } Assert.AreEqual(conversations, conversationRepository.GetAllEntities()); }