@Override
    public void setUpperRightY(float value)
    {
        throw new UnsupportedOperationException("Immutable class");
    }
@Test
    void testSetUpperRightY()
    {
        Assertions.assertThrows(UnsupportedOperationException.class, () -> rect.setUpperRightY(0));
    }