add code assert not null in Test Gson