def test_no_volume_needs_changes(self):
        application = APPLICATION_WITH_VOLUME_SIZE
        application_without_volume = application.set(volume=None)
        manifestation = application.volume.manifestation
        local_state = EMPTY_NODESTATE.set(
            devices={UUID(manifestation.dataset_id): FilePath(b"/dev/foo")},
            paths={manifestation.dataset_id: FilePath(b"/foo/bar")},
            manifestations={manifestation.dataset_id: manifestation},
            applications=[application],
        )
        local_config = to_node(local_state).set(
            applications=[application_without_volume],
        )
        assert_application_calculated_changes(
            self, local_state, local_config, set(),
            restart(application, application_without_volume, local_state),
        )
If an ``Application`` is configured with no volume but exists with one,
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/test/test_container.py/ApplicationNodeDeployerCalculateVolumeChangesTests.test_no_volume_needs_changes