/** * @test * @expectedException \InvalidArgumentException */ public function callRefForTenParametersThrowsException() { $this->accessibleMock->_callRef('argumentChecker', $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter); }
/** * @test */ public function roundTripCryptStringAppliedTwoTimesReturnsOriginalString() { $clearText = 'Hello world!'; $refValue = $this->fixture->_callRef('roundTripCryptString', $clearText); $this->assertEquals($clearText, $this->fixture->_callRef('roundTripCryptString', $refValue)); }