Простой случай использования mockito

NoSuchKey

рекомендация

отblog.csdn.net/Guesshat/article/details/115045909