+
+ @Test
+ public final void testPatchContainerData() {
+ final var response = PlainPatchDataTransactionUtil.patchData(JUKEBOX_IID, EMPTY_JUKEBOX,
+ testPatchContainerDataStrategy(), JUKEBOX_SCHEMA);
+ assertEquals(200, response.getStatus());
+ }
+
+ abstract @NonNull RestconfStrategy testPatchContainerDataStrategy();
+
+ @Test
+ public final void testPatchLeafData() {
+ final var response = PlainPatchDataTransactionUtil.patchData(GAP_IID, GAP_LEAF,
+ testPatchLeafDataStrategy(), JUKEBOX_SCHEMA);
+ assertEquals(200, response.getStatus());
+ }
+
+ abstract @NonNull RestconfStrategy testPatchLeafDataStrategy();
+
+ @Test
+ public final void testPatchListData() {
+ final var response = PlainPatchDataTransactionUtil.patchData(JUKEBOX_IID, JUKEBOX_WITH_PLAYLIST,
+ testPatchListDataStrategy(), JUKEBOX_SCHEMA);
+ assertEquals(200, response.getStatus());
+ }
+
+ abstract @NonNull RestconfStrategy testPatchListDataStrategy();