How to test service method and avoid NPE with mocked dao

前端 未结 0 1243
春和景丽
春和景丽 2021-02-04 09:31

Newbie in Mockito, trying to test method:

public boolean isPlaceBookedForDate(Long id, LocalDate date) {
        Place place;
        Boolean res;
        try {
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题