Add a way to get a mock state with a request