/** @see DATAREST-217 */ @Test public void defaultsSupportedHttpMethodsForItemResource() { assertThat( information.getSupportedMethods(ResourceType.ITEM), hasItems(GET, PUT, PATCH, DELETE)); assertThat(information.getSupportedMethods(ResourceType.ITEM), not(hasItems(POST))); assertThat(information.getSupportedMethods(COLLECTION), hasItems(GET, POST)); assertThat(information.getSupportedMethods(COLLECTION), not(hasItems(PUT, PATCH, DELETE))); }