public function test_setGetPoints_shouldReturnUnchangedZeroOnNonNumericInput() { // Note: We want to get rid of this functionality in the class. // Arrange require_once './Modules/TestQuestionPool/classes/class.assAnswerSimple.php'; $instance = new ASS_AnswerSimple(); $expected = 0.0; // Act $instance->setPoints('Günther'); $actual = $instance->getPoints(); // Assert $this->assertEquals($expected, $actual); }