calculator = new Calculator(); } protected function tearDown() { $this->calculator = NULL; } public function testTrueIsTrue() { $foo = true; $this->assertTrue($foo); } public function testAdd() { $result = $this->calculator->add(1, 2); $this->assertEquals(3, $result); } }