after replacing the status code and replacing with new generated stubs