def METHOD_NAME(
    asset_with_mock: dict[str, Any]
) -> None:
    asset = Asset(**asset_with_mock, mock_is_real=True)
    assert asset.mock_is_real
    asset.no_mock()
    assert not asset.mock_is_real
    with pytest.raises(ValidationError):
        asset.mock_is_real = True
    asset.mock = mock()
    asset.mock_is_real = True
    assert asset.mock_is_real