public async Task Create_NotNullTopic() { //assemble var queryContext = AssembleMocks.GetQueryContext(); var commandContext = AssembleMocks.GetCommandContext(); var conversationRepo = new ConversationRepository(queryContext.Object, commandContext.Object); //act var conversation = await conversationRepo.Create("New Topic"); //assert Assert.IsNotNull(conversation); }