Writing a testcases is like functional testing. First you have to know the functional requirement of the application. Then you have to decide the parameters for writing testcases like
Objective : Write the objective that you would like to test
Input method : Write the method of action or input you want to execute
Expected : how it should appear in the database