public async Task AddJsonAsync_Should_Add_One_JsonAsync(string username, DbJson dbJson, JsonModel jsonModel) { _mapper.Map <DbJson>(jsonModel).Returns(dbJson); await _jsonRepositoryInstance.AddJsonAsync(username, jsonModel); await _mongoCollectionClient.Received(1).InsertOneAsync(username, dbJson); }