Java mock service null. Here is a list of 3 things you should check out.