create sample code for junit