@Test(expected = NoSuchElementException.class)
public void testGetStatusUnknownResourceId() {

    MultiStatusResponse response = new MultiStatusResponse(Collections.singletonMap("foo", 42));
    response.getStatus("nonExistingResource");
}