it('should call the collection remove method with specified entity', () => {
        const action = { type: 'remove', meteor: {
            remove: {
            collection,
            id: 'success',
            },
        }};

        meteorRemove(newSuccessNotification, newErrorNotification)(store)(next)(action);

        expect(remove).to.have.been.calledWith('success', sinon.match.func);
    });
        it('should call the newErrorNotification method if remove fails', () => {
        const action = { type: 'remove', meteor: {
            remove: {
            collection,
            id: 'failure',
            },
        }};

        meteorRemove(newSuccessNotification, newErrorNotification)(store)(next)(action);

        expect(newErrorNotification).to.have.been.called;
    });
    it('should call next if action does not have a meteor.remove property', () => {
        const action = { type: 'dummy_datasource_1', meteor: {} };
        meteorRemove(newSuccessNotification, newErrorNotification)(store)(next)(action);

        expect(next).to.have.been.calledWith(action);
        });