public function test($compare) { return !parent::test($compare); }
function testStringMismatch() { $not_hello = new NotEqualExpectation("Hello"); $this->assertTrue($not_hello->test("Goodbye")); $this->assertFalse($not_hello->test("Hello")); }