Draw on the right, write (Umple) model code on the left. Analyse models and generate code. This tool stores your data in cookies and on a server. I understand. Click to learn about privacy. Download Donate For help: User manual Ask questions Report issue
class Calculator{ Integer x; Integer y; String someString; Integer returnInteger (Integer x) { return x+y;} String returnStirng (Integer x) { return someString;} generic test checkifLogged(Integer method Integer){ Calculator c1 ( 4, 5) ; String valueToCheck = p1.get<>(); ps1.getValue(<>); boolean isLogged = p1.checkIsLogged(valueToCheck); assertTrue(logged == "true"); } generic test checkifLogged(String method Integer){ // code omitted } }