The key issue was that siteRepo.getOne(SITE_ID) was returning null because the mock wasn't properly configured or the argument matching wasn't working correctly.
siteRepo.getOne(SITE_ID) w