Some java code to show junit example