'If there is a manifesation on this node and lease for the corresponding
volume for this node, then the corresponding desired dataset has a
state of ``MOUNTED`` and the associated size corresponds to the
discovered dataset.'

@given(expected_size=integers(min_value=0))
def test_leased_manifestation(self, expected_size):

    assert_desired_datasets(self, self.deployer, desired_manifestations=[ScenarioMixin.MANIFESTATION], local_datasets=[ScenarioMixin.MOUNTED_DISCOVERED_DATASET.transform(['maximum_size'], expected_size)], expected_datasets=[ScenarioMixin.MOUNTED_DESIRED_DATASET.transform(['maximum_size'], expected_size)], leases=Leases().acquire(now=datetime.now(tz=UTC), dataset_id=ScenarioMixin.DATASET_ID, node_id=self.deployer.node_uuid))
