Create an encapsulated class with 4 fields and the respective methods to access and edit those fields. Then go ahead and create a test class to verify.

Class Name : Student
Field Names : studentId, studentName, collegeName, address
Test Class Name : TestStudent