public void setProtectThreshold(float protectThreshold) {
        this.protectThreshold = protectThreshold;
    }
@Test
    void testSetProtectThreshold() {
        serviceMetadata.setProtectThreshold(1.0F);
        assertEquals(1.0F, serviceMetadata.getProtectThreshold(), 0);
    }