Newly created methods are not saved in a sessionns

wrote some code for in a class and unable to call the methods in the test cases. when i closed and opened the studio the created methods were not there