Search in sources :

Example 1 with ProvisionedResource

use of org.eclipse.dataspaceconnector.spi.types.domain.transfer.ProvisionedResource in project DataSpaceConnector by eclipse-dataspaceconnector.

the class ObjectStorageProvisionerTest method canDeprovision.

@Test
void canDeprovision() {
    var resource = createProvisionedResource();
    assertThat(provisioner.canDeprovision(resource)).isTrue();
    assertThat(provisioner.canDeprovision(new ProvisionedResource() {
    })).isFalse();
}
Also used : ProvisionedResource(org.eclipse.dataspaceconnector.spi.types.domain.transfer.ProvisionedResource) Test(org.junit.jupiter.api.Test)

Aggregations

ProvisionedResource (org.eclipse.dataspaceconnector.spi.types.domain.transfer.ProvisionedResource)1 Test (org.junit.jupiter.api.Test)1