public static ResourceProfile getEffectiveResourceProfile(
            ResourceProfile requirement, ResourceProfile defaultResourceProfile) {
        return requirement.equals(ResourceProfile.UNKNOWN) ? defaultResourceProfile : requirement;
    }
@Test
    void testGetEffectiveResourceProfile() {
        final ResourceProfile defaultProfile = ResourceProfile.fromResources(5, 10);
        final ResourceProfile concreteRequirement = ResourceProfile.fromResources(1, 20);

        assertThat(
                        SlotManagerUtils.getEffectiveResourceProfile(
                                ResourceProfile.UNKNOWN, defaultProfile))
                .isEqualTo(defaultProfile);
        assertThat(
                        SlotManagerUtils.getEffectiveResourceProfile(
                                concreteRequirement, defaultProfile))
                .isEqualTo(concreteRequirement);
    }