Class Calculator


  • public class Calculator
    extends java.lang.Object
    Calculator dependency to show injection into tests.
    Author:
    Daniel Sagenschneider
    • Constructor Summary

      Constructors 
      Constructor Description
      Calculator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int plus​(int a, int b)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Calculator

        public Calculator()
    • Method Detail

      • plus

        public int plus​(int a,
                        int b)