constructor param test test uml state diagram 