Update ResourceApiTest.java