def METHOD_NAME():
    updated_message = "jumping straight to ACTIVE"
    class FakeImpl(AbstractExternalResource):
        def _do_update(self):
            return replace(
                self,
                status=ResourceStatus(
                    state=ResourceState.ACTIVE,
                    message=updated_message,
                    managed_by=ManagedBy.RESOLVER,
                ),
            )
    with pytest.raises(IllegalStateTransitionError):
        FakeImpl().update()
    updated = FakeImpl(
        status=ResourceStatus(
            state=ResourceState.ACTIVATING,
            message="spinning up the whatever",
            managed_by=ManagedBy.RESOLVER,
        )
    ).update()
    assert updated.status.message == updated_message