public function testLoggingSimpleAdd()
 {
     $a = new Calculator();
     $mockedLogger = $this->getMockBuilder('Demo\\ILogger')->getMock();
     $mockedLogger->expects($this->once())->method('write')->with($this->equalTo('6'));
     Calculator::setLogger($mockedLogger);
     $a->Add("2,4");
 }