def METHOD_NAME(screen: Screen):
    label = ui.label('Some label')
    def assert_classes(classes: str) -> None:
        assert screen.selenium.find_element(By.XPATH,
                                            f'//*[normalize-space(@class)="{classes}" and text()="Some label"]')
    screen.open('/')
    screen.wait(0.5)
    assert_classes('')
    label.classes('one')
    assert_classes('one')
    label.classes('one')
    assert_classes('one')
    label.classes('two three')
    assert_classes('one two three')
    label.classes(remove='two')
    assert_classes('one three')
    label.classes(replace='four')
    assert_classes('four')