@Override
    public void delete(InputWithExtractors nativeEntity) {
        inputService.destroy(nativeEntity.input());
    }
@Test
    @MongoDBFixtures("InputFacadeTest.json")
    public void delete() throws NotFoundException {
        final Input input = inputService.find("5acc84f84b900a4ff290d9a7");
        final InputWithExtractors inputWithExtractors = InputWithExtractors.create(input);

        assertThat(inputService.totalCount()).isEqualTo(4L);
        facade.delete(inputWithExtractors);

        assertThat(inputService.totalCount()).isEqualTo(3L);
        assertThatThrownBy(() -> inputService.find("5acc84f84b900a4ff290d9a7"))
                .isInstanceOf(NotFoundException.class);
    }