@Override
  public UserAccount updateDb(final UserAccount userAccount) {
    Document id = new Document(USER_ID, userAccount.getUserId());
    Document dataSet = new Document(USER_NAME, userAccount.getUserName())
            .append(ADD_INFO, userAccount.getAdditionalInfo());
    db.getCollection(CachingConstants.USER_ACCOUNT)
            .updateOne(id, new Document("$set", dataSet));
    return userAccount;
  }
@Test
  void updateDb() {
    MongoCollection<Document> mongoCollection = mock(MongoCollection.class);
    when(db.getCollection(CachingConstants.USER_ACCOUNT)).thenReturn(mongoCollection);
    assertDoesNotThrow(()-> {mongoDb.updateDb(userAccount);});
  }